diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-holdshistory.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-holdshistory.tt index 3e39a2725b..cca64a6274 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-holdshistory.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-holdshistory.tt @@ -185,7 +185,6 @@ $('#sort').change(function() { $('#sortform').submit(); }); - var columns_settings = []; // Empty because there are no columns we want to be configurable var table = KohaTable("#table_holdshistory", { "dom": '<"top"<"table_entries"i><"table_controls"fB>>t', "autoWidth": false, @@ -197,7 +196,7 @@ "search": "_INPUT_", "searchPlaceholder": _("Search") } - }, columns_settings); + }); }); [% END %] diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-readingrecord.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-readingrecord.tt index c0a3b0212c..497ee3fbaa 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-readingrecord.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-readingrecord.tt @@ -234,7 +234,6 @@ $('#sortform').submit(); }); - var columns_settings = []; // Empty because there are no columns we want to be configurable var table = KohaTable("#readingrec", { "dom": '<"top"<"table_entries"i><"table_controls"fB>>t', "language": { @@ -249,7 +248,7 @@ { "visible": false, "targets": [0]}, { "orderable": false, "targets": [1]} ], - }, columns_settings); + }); let table_dt = table.DataTable(); $("#tabs a[data-bs-toggle='tab']").on("shown.bs.tab", function (e) { diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-search-history.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-search-history.tt index 196471ce72..1d35a87e8f 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-search-history.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-search-history.tt @@ -294,7 +294,6 @@ $(document).ready(function() { // We show table ordered by descending dates by default // (so that the more recent query is shown first) - var columns_settings = []; // Empty because there are no columns we want to be configurable var table = KohaTable(".historyt", { "order": [[ 1, "desc" ]], "dom": '<"top"<"table_entries"><"table_controls"fB>>t', @@ -309,7 +308,7 @@ "responsive": { "details": { "type": 'column',"target": -1 } }, - }, columns_settings); + }); $('a[data-bs-toggle="tab"]').on('shown.bs.tab', function (e) { table.DataTable().responsive.recalc();