@@ -58,10 +58,9 @@ <h5 class="offcanvas-title" id="offcanvasNavbarLabel"><MANO></h5>
5858
5959
6060 < div class ="container mt-4 mb-5 ">
61-
62- < div class ="container ">
63- < button onclick ="history.back() " class ="btn btn-sm btn-outline-secondary "> ← Back</ button >
64- </ div >
61+
62+ < button onclick ="history.back() " class ="btn back-btn btn-sm btn-outline-secondary "> Back</ button >
63+
6564 < h1 class ="page-title "> Metadata Collection</ h1 >
6665
6766 < div class ="row my-4 align-items-end ">
@@ -249,6 +248,8 @@ <h5 class="modal-title" id="recordModalLabel">Manuscript Record</h5>
249248
250249 function createTableRow ( entry ) {
251250 const row = document . createElement ( "tr" ) ;
251+ row . id = "ms-" + ( entry . idno || entry . msTitle ) . replace ( / \s + / g, "_" ) ;
252+
252253
253254 // Always just the value
254255 const repoDisplay = displayField ( entry . repository ) ;
@@ -276,7 +277,7 @@ <h5 class="modal-title" id="recordModalLabel">Manuscript Record</h5>
276277 <button class="btn btn-sm btn-secondary" onclick='showFullRecord(${ JSON . stringify ( entry ) . replace ( / ' / g, "'" ) } )'>See complete record</button>
277278 </td>
278279 ` ;
279-
280+
280281 // Fix dataset values for filtering
281282 row . dataset . country = entry . countryIdent ?. value || entry . countryIdent || "" ;
282283 row . dataset . century = getCentury ( entry . dateOrigin ) || "" ;
@@ -948,7 +949,6 @@ <h5 class="border-bottom pb-1">${title}</h5>
948949 renderFilterSidebar();
949950}
950951
951- //Replace original loadMetadata() call
952952loadMetadataWithFilters();
953953
954954
0 commit comments