@@ -, +, @@
gracefuly
---
.../opac-tmpl/bootstrap/en/modules/opac-detail.tt | 18 ++++++++++++++----
1 file changed, 14 insertions(+), 4 deletions(-)
--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt
+++ a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt
@@ -654,7 +654,7 @@
[% IF too_many_items %]
This record has many physical items ([% items_count %]). Click here to view them all.
[% ELSIF ( itemloop.size ) %]
- [% INCLUDE items_table items=itemloop tab="holdings" %]
+ [% INCLUDE items_table items=itemloop tab="holdings" table_id="holdingst" %]
[% IF Koha.Preference('OPACAcquisitionDetails') and acquisition_details.total_quantity > 0 %]
[% IF acquisition_details.total_quantity == 1 %]
1 item is on order.
@@ -701,7 +701,7 @@
[% IF (SeparateHoldings) %]
[% IF (otheritemloop.size) %]
- [% INCLUDE items_table items=otheritemloop tab="otherholdings" %]
+ [% INCLUDE items_table items=otheritemloop tab="otherholdings" table_id="otherholdingst" %]
[% ELSE %]
No other items.
[% END %]
@@ -1177,7 +1177,7 @@
[%# End of template %]
[% BLOCK items_table %]
-
+
[% IF ( item_level_itypes ) %]
@@ -1437,7 +1437,17 @@
});
var columns_settings = [% ColumnsSettings.GetColumns( 'opac', 'biblio-detail', 'holdingst', 'json' ) %];
- KohaTable(".holdingst", {
+
+ KohaTable("#holdingst", {
+ dom: 'B<"clearfix">t',
+ "columnDefs": [
+ { "aTargets": [ -1 ], "bSortable": false, "bSearchable": false },
+ { "sType": "title-string", "aTargets" : [ "title-string" ] }
+ ],
+ "bKohaColumnsUseNames": true
+ }, columns_settings);
+
+ KohaTable("#otherholdingst", {
dom: 'B<"clearfix">t',
"columnDefs": [
{ "aTargets": [ -1 ], "bSortable": false, "bSearchable": false },
--