View | Details | Raw Unified | Return to bug 38595
Collapse All | Expand All

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-holdshistory.tt (-2 / +1 lines)
Lines 185-191 Link Here
185
        $('#sort').change(function() {
185
        $('#sort').change(function() {
186
            $('#sortform').submit();
186
            $('#sortform').submit();
187
        });
187
        });
188
        var columns_settings = []; // Empty because there are no columns we want to be configurable
189
        var table = KohaTable("#table_holdshistory", {
188
        var table = KohaTable("#table_holdshistory", {
190
            "dom": '<"top"<"table_entries"i><"table_controls"fB>>t',
189
            "dom": '<"top"<"table_entries"i><"table_controls"fB>>t',
191
            "autoWidth": false,
190
            "autoWidth": false,
Lines 197-203 Link Here
197
                "search": "_INPUT_",
196
                "search": "_INPUT_",
198
                "searchPlaceholder": _("Search")
197
                "searchPlaceholder": _("Search")
199
            }
198
            }
200
        }, columns_settings);
199
        });
201
    });
200
    });
202
</script>
201
</script>
203
[% END %]
202
[% END %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-readingrecord.tt (-2 / +1 lines)
Lines 234-240 Link Here
234
            $('#sortform').submit();
234
            $('#sortform').submit();
235
        });
235
        });
236
236
237
        var columns_settings = []; // Empty because there are no columns we want to be configurable
238
        var table = KohaTable("#readingrec", {
237
        var table = KohaTable("#readingrec", {
239
            "dom": '<"top"<"table_entries"i><"table_controls"fB>>t',
238
            "dom": '<"top"<"table_entries"i><"table_controls"fB>>t',
240
            "language": {
239
            "language": {
Lines 249-255 Link Here
249
                { "visible": false, "targets": [0]},
248
                { "visible": false, "targets": [0]},
250
                { "orderable": false, "targets": [1]}
249
                { "orderable": false, "targets": [1]}
251
            ],
250
            ],
252
        }, columns_settings);
251
        });
253
        let table_dt = table.DataTable();
252
        let table_dt = table.DataTable();
254
253
255
        $("#tabs a[data-bs-toggle='tab']").on("shown.bs.tab", function (e) {
254
        $("#tabs a[data-bs-toggle='tab']").on("shown.bs.tab", function (e) {
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-search-history.tt (-3 / +1 lines)
Lines 294-300 Link Here
294
    $(document).ready(function() {
294
    $(document).ready(function() {
295
        // We show table ordered by descending dates by default
295
        // We show table ordered by descending dates by default
296
        // (so that the more recent query is shown first)
296
        // (so that the more recent query is shown first)
297
        var columns_settings = []; // Empty because there are no columns we want to be configurable
298
        var table = KohaTable(".historyt", {
297
        var table = KohaTable(".historyt", {
299
            "order": [[ 1, "desc" ]],
298
            "order": [[ 1, "desc" ]],
300
            "dom": '<"top"<"table_entries"><"table_controls"fB>>t',
299
            "dom": '<"top"<"table_entries"><"table_controls"fB>>t',
Lines 309-315 Link Here
309
            "responsive": {
308
            "responsive": {
310
                "details": { "type": 'column',"target": -1 }
309
                "details": { "type": 'column',"target": -1 }
311
            },
310
            },
312
        }, columns_settings);
311
        });
313
312
314
        $('a[data-bs-toggle="tab"]').on('shown.bs.tab', function (e) {
313
        $('a[data-bs-toggle="tab"]').on('shown.bs.tab', function (e) {
315
            table.DataTable().responsive.recalc();
314
            table.DataTable().responsive.recalc();
316
- 

Return to bug 38595