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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoice.tt (-1 lines)
Lines 570-576 Link Here
570
                paging: false,
570
                paging: false,
571
                searching: false,
571
                searching: false,
572
                dom: "t",
572
                dom: "t",
573
                columnDefs: [{ type: "anti-the", targets: ["anti-the"] }],
574
            });
573
            });
575
            [% IF ( (Koha.Preference('AcqEnableFiles')) && files ) %]
574
            [% IF ( (Koha.Preference('AcqEnableFiles')) && files ) %]
576
                $("#invoice_files_table").kohaTable({
575
                $("#invoice_files_table").kohaTable({
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/newordersubscription.tt (-3 lines)
Lines 136-144 Link Here
136
136
137
        $(document).ready(function() {
137
        $(document).ready(function() {
138
            $("#srlt").kohaTable({
138
            $("#srlt").kohaTable({
139
                columnDefs: [
140
                    { type: "anti-the", targets: ["anti-the"] },
141
                ],
142
                pagingType: "full",
139
                pagingType: "full",
143
            });
140
            });
144
141
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/ordered.tt (-1 lines)
Lines 145-151 Link Here
145
    <script>
145
    <script>
146
        $(document).ready(function() {
146
        $(document).ready(function() {
147
            $("#spent").kohaTable({
147
            $("#spent").kohaTable({
148
                columnDefs: [{ type: "anti-the", targets: ["anti-the"] }],
149
                pagingType: "full",
148
                pagingType: "full",
150
            });
149
            });
151
        });
150
        });
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/spent.tt (-1 lines)
Lines 160-166 Link Here
160
    <script>
160
    <script>
161
        $(document).ready(function() {
161
        $(document).ready(function() {
162
            $("#spent").kohaTable({
162
            $("#spent").kohaTable({
163
                columnDefs: [{ type: "anti-the", targets: ["anti-the"] }],
164
                pagingType: "full",
163
                pagingType: "full",
165
            });
164
            });
166
        });
165
        });
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt (-3 lines)
Lines 2043-2051 Link Here
2043
2043
2044
            [% IF suggestions.count %]
2044
            [% IF suggestions.count %]
2045
                $("#suggestions").kohaTable({
2045
                $("#suggestions").kohaTable({
2046
                    columnDefs: [
2047
                        { type: "anti-the", targets: ["anti-the"] },
2048
                    ],
2049
                    pagingType: "full",
2046
                    pagingType: "full",
2050
                });
2047
                });
2051
            [% END %]
2048
            [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/checkout-notes.tt (-3 lines)
Lines 145-153 Link Here
145
        $(document).ready(function(){
145
        $(document).ready(function(){
146
            $("#notestable").kohaTable({
146
            $("#notestable").kohaTable({
147
                order: [[1, "asc"]],
147
                order: [[1, "asc"]],
148
                columnDefs: [
149
                    { type: "anti-the", targets: ["anti-the"] },
150
                ],
151
                pagingType: "full",
148
                pagingType: "full",
152
            });
149
            });
153
150
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation_batch_checkouts.tt (-3 lines)
Lines 367-375 Link Here
367
            $("#checkout_infos").kohaTable({
367
            $("#checkout_infos").kohaTable({
368
                dom: "t",
368
                dom: "t",
369
                order: [],
369
                order: [],
370
                columnDefs: [
371
                    { type: "anti-the", targets: ["anti-the"] },
372
                ],
373
                paginate: false,
370
                paginate: false,
374
            });
371
            });
375
        });
372
        });
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/reserveratios.tt (-1 lines)
Lines 213-219 Link Here
213
                        [3, "asc"],
213
                        [3, "asc"],
214
                    ],
214
                    ],
215
                    columnDefs: [
215
                    columnDefs: [
216
                        { type: "anti-the", targets: ["anti-the"] },
217
                        { type: "natural", targets: ["natural"] },
216
                        { type: "natural", targets: ["natural"] },
218
                    ],
217
                    ],
219
                    pagingType: "full",
218
                    pagingType: "full",
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/transfers_to_send.tt (-1 lines)
Lines 124-130 Link Here
124
                $("#transferst[% library.branchcode | html %]").kohaTable({
124
                $("#transferst[% library.branchcode | html %]").kohaTable({
125
                    columnDefs: [
125
                    columnDefs: [
126
                        { targets: [-1], orderable: false, searchable: false },
126
                        { targets: [-1], orderable: false, searchable: false },
127
                        { type: "anti-the", targets: ["anti-the"] },
128
                    ],
127
                    ],
129
                    dom: "t",
128
                    dom: "t",
130
                    paginate: false,
129
                    paginate: false,
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/transferstoreceive.tt (-1 lines)
Lines 128-134 Link Here
128
                $("#transferst[% branchesloo.branchcode | html %]").kohaTable({
128
                $("#transferst[% branchesloo.branchcode | html %]").kohaTable({
129
                    columnDefs: [
129
                    columnDefs: [
130
                        { targets: [-1], orderable: false, searchable: false },
130
                        { targets: [-1], orderable: false, searchable: false },
131
                        { type: "anti-the", targets: ["anti-the"] },
132
                    ],
131
                    ],
133
                    dom: "t",
132
                    dom: "t",
134
                    paginate: false,
133
                    paginate: false,
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-batch.tt (-1 lines)
Lines 337-343 Link Here
337
            $("#batcht").kohaTable({
337
            $("#batcht").kohaTable({
338
                autoWidth: false,
338
                autoWidth: false,
339
                columnDefs: [
339
                columnDefs: [
340
                    { type: "anti-the", targets: ["anti-the"] },
341
                    { targets: [-1, -2], orderable: false, searchable: false },
340
                    { targets: [-1, -2], orderable: false, searchable: false },
342
                ],
341
                ],
343
                order: [[0, "asc"]],
342
                order: [[0, "asc"]],
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/recalls/recalls_to_pull.tt (-1 lines)
Lines 168-174 Link Here
168
            $("#recalls-table").kohaTable({
168
            $("#recalls-table").kohaTable({
169
                columnDefs: [
169
                columnDefs: [
170
                    { type: "title-string", targets: ["title-string"] },
170
                    { type: "title-string", targets: ["title-string"] },
171
                    { type: "anti-the", targets: ["anti-the"] },
172
                ],
171
                ],
173
                pagingType: "full_numbers",
172
                pagingType: "full_numbers",
174
            });
173
            });
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt (-3 lines)
Lines 2412-2420 Link Here
2412
                            "columnDefs": [
2412
                            "columnDefs": [
2413
                                { "width": "35%", "targets": 1 }
2413
                                { "width": "35%", "targets": 1 }
2414
                            ],
2414
                            ],
2415
                            "columnDefs": [
2416
                                { "type": "anti-the", "targets":  [ 'anti-the'] }
2417
                            ]
2418
                        });
2415
                        });
2419
2416
2420
                        $(".showbutton").on("click", function(e){
2417
                        $(".showbutton").on("click", function(e){
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tt (-1 lines)
Lines 250-256 Link Here
250
                dom: "t",
250
                dom: "t",
251
                columnDefs: [
251
                columnDefs: [
252
                    { targets: [0], orderable: false, searchable: false },
252
                    { targets: [0], orderable: false, searchable: false },
253
                    { type: "anti-the", targets: ["anti-the"] },
254
                ],
253
                ],
255
                paginate: false,
254
                paginate: false,
256
            });
255
            });
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt (-9 lines)
Lines 349-373 Link Here
349
            var osrlt = $("#opened_panel table").kohaTable({
349
            var osrlt = $("#opened_panel table").kohaTable({
350
                pagingType: "full",
350
                pagingType: "full",
351
                order: [[2, "asc"]],
351
                order: [[2, "asc"]],
352
                columnDefs: [
353
                    { type: "anti-the", targets: ["anti-the"] },
354
                ],
355
            });
352
            });
356
353
357
            var csrlt = $("#closed_panel table").kohaTable({
354
            var csrlt = $("#closed_panel table").kohaTable({
358
                // FIXME sort function of additional_fields!
355
                // FIXME sort function of additional_fields!
359
                order: [[2, "asc"]],
356
                order: [[2, "asc"]],
360
                pagingType: "full",
357
                pagingType: "full",
361
                columnDefs: [
362
                    { type: "anti-the", targets: ["anti-the"] },
363
                ],
364
            });
358
            });
365
359
366
            var manarlt = $("#mana_results_datatable").kohaTable({
360
            var manarlt = $("#mana_results_datatable").kohaTable({
367
                pagingType: "full",
361
                pagingType: "full",
368
                columnDefs: [
369
                    { type: "anti-the", targets: ["anti-the"] },
370
                ],
371
            });
362
            });
372
363
373
            $("#reopensub").click(function(){
364
            $("#reopensub").click(function(){
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt (-3 lines)
Lines 606-614 Link Here
606
606
607
                var table = $("#table_additional_contents").kohaTable({
607
                var table = $("#table_additional_contents").kohaTable({
608
                    order: [[4, "desc"]],
608
                    order: [[4, "desc"]],
609
                    columnDefs: [
610
                        { type: "anti-the", targets: ["anti-the"] },
611
                    ],
612
                    pagingType: "full_numbers",
609
                    pagingType: "full_numbers",
613
                });
610
                });
614
                let table_dt = table.DataTable();
611
                let table_dt = table.DataTable();
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt (-1 lines)
Lines 475-481 Link Here
475
                [% ELSE %]
475
                [% ELSE %]
476
                    // first column contains checkboxes
476
                    // first column contains checkboxes
477
                    "columnDefs": [
477
                    "columnDefs": [
478
                        { "type": "anti-the", "targets":  [ "anti-the" ] },
479
                        { "orderable": false, "searchable":  false, "targets": [ 0 ] }
478
                        { "orderable": false, "searchable":  false, "targets": [ 0 ] }
480
                    ],
479
                    ],
481
                    // 3rd column is callnumber
480
                    // 3rd column is callnumber
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/problem-reports.tt (-3 lines)
Lines 151-159 Link Here
151
        $(document).ready(function(){
151
        $(document).ready(function(){
152
            $("#problemreportstable").kohaTable({
152
            $("#problemreportstable").kohaTable({
153
                order: [[1, "asc"]],
153
                order: [[1, "asc"]],
154
                columnDefs: [
155
                    { type: "anti-the", targets: ["anti-the"] },
156
                ],
157
                pagingType: "full",
154
                pagingType: "full",
158
            });
155
            });
159
156
(-)a/koha-tmpl/intranet-tmpl/prog/js/addorderiso2709.js (-3 lines)
Lines 3-11 Link Here
3
$(document).ready(function() {
3
$(document).ready(function() {
4
    $("#Aform").preventDoubleFormSubmit();
4
    $("#Aform").preventDoubleFormSubmit();
5
    $("#files").kohaTable({
5
    $("#files").kohaTable({
6
        columnDefs: [
7
            { type: "anti-the", targets: ["anti-the"] },
8
        ],
9
        pagingType: "full",
6
        pagingType: "full",
10
        order: [],
7
        order: [],
11
    });
8
    });
(-)a/koha-tmpl/intranet-tmpl/prog/js/cart.js (-1 lines)
Lines 86-92 $(document).ready(function(){ Link Here
86
    $("#itemst").kohaTable({
86
    $("#itemst").kohaTable({
87
        dom: "t",
87
        dom: "t",
88
        columnDefs: [
88
        columnDefs: [
89
            { type: "anti-the", targets: ["anti-the"] },
90
            { type: "callnumbers", targets: ["callnumbers"] },
89
            { type: "callnumbers", targets: ["callnumbers"] },
91
        ],
90
        ],
92
        order: [[1, "asc"]],
91
        order: [[1, "asc"]],
(-)a/koha-tmpl/intranet-tmpl/prog/js/holds.js (-3 lines)
Lines 319-327 $(document).ready(function() { Link Here
319
                "paging":  false,
319
                "paging":  false,
320
                "processing":  true,
320
                "processing":  true,
321
                "serverSide":  false,
321
                "serverSide":  false,
322
                "columnDefs":  [
323
                    { "type": "anti-the", "targets": [ "anti-the" ] }
324
                ],
325
                "ajax": {
322
                "ajax": {
326
                    "url": '/cgi-bin/koha/svc/holds',
323
                    "url": '/cgi-bin/koha/svc/holds',
327
                    "data": function ( d ) {
324
                    "data": function ( d ) {
(-)a/koha-tmpl/intranet-tmpl/prog/js/pages/batchMod.js (-1 lines)
Lines 122-128 $(document).ready(function () { Link Here
122
        columnDefs: [
122
        columnDefs: [
123
            { targets: [0, 1], orderable: false, searchable: true },
123
            { targets: [0, 1], orderable: false, searchable: true },
124
            { targets: [0], visible: false },
124
            { targets: [0], visible: false },
125
            { type: "anti-the", targets: ["anti-the"] },
126
        ],
125
        ],
127
        paging: false,
126
        paging: false,
128
    });
127
    });
(-)a/koha-tmpl/intranet-tmpl/prog/js/pages/stockrotation.js (-3 lines)
Lines 69-77 $(document).ready(function() { Link Here
69
69
70
    $("#stock_rotation_manage_items").kohaTable(
70
    $("#stock_rotation_manage_items").kohaTable(
71
        {
71
        {
72
            columnDefs: [
73
                { type: "anti-the", targets: ["anti-the"] },
74
            ],
75
            pagingType: "full",
72
            pagingType: "full",
76
            autoWidth: false,
73
            autoWidth: false,
77
        },
74
        },
(-)a/koha-tmpl/intranet-tmpl/prog/js/pages/tags-review.js (-3 lines)
Lines 59-67 var success_test_call = function() { Link Here
59
59
60
$(document).ready(function() {
60
$(document).ready(function() {
61
    $("#tagst").kohaTable({
61
    $("#tagst").kohaTable({
62
        columnDefs: [
63
            { type: "anti-the", targets: ["anti-the"] },
64
        ],
65
        order: [[2, "desc"]],
62
        order: [[2, "desc"]],
66
        pagingType: "full",
63
        pagingType: "full",
67
    });
64
    });
(-)a/koha-tmpl/intranet-tmpl/prog/js/recalls.js (-1 lines)
Lines 105-111 $(document).ready(function() { Link Here
105
        $("#recalls-table").kohaTable({
105
        $("#recalls-table").kohaTable({
106
            columnDefs: [
106
            columnDefs: [
107
                { type: "title-string", targets: ["title-string"] },
107
                { type: "title-string", targets: ["title-string"] },
108
                { type: "anti-the", targets: ["anti-the"] },
109
            ],
108
            ],
110
            pagingType: "full_numbers",
109
            pagingType: "full_numbers",
111
        });
110
        });
(-)a/koha-tmpl/intranet-tmpl/prog/js/subscription-add.js (-3 lines)
Lines 437-445 function mana_search() { Link Here
437
                "columnDefs": [
437
                "columnDefs": [
438
                    { "width": "35%", "targets": 1 }
438
                    { "width": "35%", "targets": 1 }
439
                ],
439
                ],
440
                "columnDefs":  [
441
                    { "type":  "anti-the", "targets":  [ 'anti-the'] }
442
                ]
443
            });
440
            });
444
            if( $("#mana_results_datatable").length && $("td.dataTables_empty").length == 0){
441
            if( $("#mana_results_datatable").length && $("td.dataTables_empty").length == 0){
445
                $("#mana_search").html("<p>" + __("Subscription found on Mana Knowledge Base:") + "</p><p> <a href=\"#\" data-bs-toggle=\"modal\" data-bs-target=\"#mana_search_result\"><i class=\"fa-solid fa-window-maximize\"></i> " + __("Show Mana results") + "</a></p>");
442
                $("#mana_search").html("<p>" + __("Subscription found on Mana Knowledge Base:") + "</p><p> <a href=\"#\" data-bs-toggle=\"modal\" data-bs-target=\"#mana_search_result\"><i class=\"fa-solid fa-window-maximize\"></i> " + __("Show Mana results") + "</a></p>");
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-basket.tt (-1 lines)
Lines 501-507 Link Here
501
                    var itemst = $("#itemst").kohaTable({
501
                    var itemst = $("#itemst").kohaTable({
502
                        order: [[1, "asc"]],
502
                        order: [[1, "asc"]],
503
                        columnDefs: [{ targets: [0, -1], orderable: false, searchable: false }],
503
                        columnDefs: [{ targets: [0, -1], orderable: false, searchable: false }],
504
                        columns: [null, { type: "anti-the" }, null, null, null],
505
                    });
504
                    });
506
505
507
                    var buttons = new $.fn.dataTable.Buttons(itemst, {
506
                    var buttons = new $.fn.dataTable.Buttons(itemst, {
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-holdshistory.tt (-1 lines)
Lines 189-195 Link Here
189
                dom: '<"top"<"table_entries"i><"table_controls"fB>>t',
189
                dom: '<"top"<"table_entries"i><"table_controls"fB>>t',
190
                autoWidth: false,
190
                autoWidth: false,
191
                sorting: [[4, "desc"]],
191
                sorting: [[4, "desc"]],
192
                columnDefs: [{ sType: "anti-the", aTargets: ["anti-the"] }],
193
                language: {
192
                language: {
194
                    search: "_INPUT_",
193
                    search: "_INPUT_",
195
                    searchPlaceholder: _("Search"),
194
                    searchPlaceholder: _("Search"),
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-recalls.tt (-1 lines)
Lines 140-146 Link Here
140
                    details: { type: "column", target: -1 },
140
                    details: { type: "column", target: -1 },
141
                },
141
                },
142
                columnDefs: [
142
                columnDefs: [
143
                    { type: "anti-the", targets: ["anti-the"] },
144
                    { className: "dtr-control", orderable: false, targets: -1 },
143
                    { className: "dtr-control", orderable: false, targets: -1 },
145
                ],
144
                ],
146
            });
145
            });
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt (-1 lines)
Lines 575-581 Link Here
575
            ],
575
            ],
576
            "columns": [
576
            "columns": [
577
                [% IF ( loggedinusername ) %]null,[% END %]
577
                [% IF ( loggedinusername ) %]null,[% END %]
578
                { "type": "anti-the" },
579
                null,
578
                null,
580
                null,
579
                null,
581
                [% IF Koha.Preference( 'OPACViewOthersSuggestions' ) == 1 %]null,[% END %]
580
                [% IF Koha.Preference( 'OPACViewOthersSuggestions' ) == 1 %]null,[% END %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-tags.tt (-1 lines)
Lines 263-269 Link Here
263
            sorting: [[2, "asc"]],
263
            sorting: [[2, "asc"]],
264
            columnDefs: [
264
            columnDefs: [
265
                { targets: [0], orderable: false, searchable: false },
265
                { targets: [0], orderable: false, searchable: false },
266
                { sType: "anti-the", aTargets: ["anti-the"] },
267
                { className: "dtr-control", orderable: false, targets: -1 },
266
                { className: "dtr-control", orderable: false, targets: -1 },
268
                { responsivePriority: 1, targets: 2 },
267
                { responsivePriority: 1, targets: 2 },
269
            ],
268
            ],
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-topissues.tt (-1 lines)
Lines 148-154 Link Here
148
            $("#topissuest").kohaTable({
148
            $("#topissuest").kohaTable({
149
                sorting: [[3, "desc"]],
149
                sorting: [[3, "desc"]],
150
                columnDefs: [
150
                columnDefs: [
151
                    { type: "anti-the", targets: ["anti-the"] },
152
                    { className: "dtr-control", orderable: false, targets: -1 },
151
                    { className: "dtr-control", orderable: false, targets: -1 },
153
                ],
152
                ],
154
                responsive: {
153
                responsive: {
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt (-1 lines)
Lines 1209-1215 Link Here
1209
                    "sorting" : [[ thIndex, 'asc' ]],
1209
                    "sorting" : [[ thIndex, 'asc' ]],
1210
                    "dom": '<"top"<"table_entries"><"table_controls"fB>>t',
1210
                    "dom": '<"top"<"table_entries"><"table_controls"fB>>t',
1211
                    "columnDefs": [
1211
                    "columnDefs": [
1212
                        { "type": "anti-the", "targets" : [ "anti-the" ] },
1213
                        { "visible": false, "targets" : [ "hidden" ] },
1212
                        { "visible": false, "targets" : [ "hidden" ] },
1214
                        { "className": 'dtr-control', "orderable": false, "targets": -1 }
1213
                        { "className": 'dtr-control', "orderable": false, "targets": -1 }
1215
                    ],
1214
                    ],
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt (-2 lines)
Lines 604-610 Link Here
604
                    dom: '<"top"<"table_entries"><"table_controls"f>>t<"clear">',
604
                    dom: '<"top"<"table_entries"><"table_controls"f>>t<"clear">',
605
                    columnDefs: [
605
                    columnDefs: [
606
                        { targets: ["noshow"], visible: false, searchable: false },
606
                        { targets: ["noshow"], visible: false, searchable: false },
607
                        { type: "anti-the", targets: ["anti-the"] },
608
                        { visible: false, targets: ["hidden"] },
607
                        { visible: false, targets: ["hidden"] },
609
                        { className: "dtr-control", orderable: false, targets: -1 },
608
                        { className: "dtr-control", orderable: false, targets: -1 },
610
                    ],
609
                    ],
611
- 

Return to bug 38984