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 568-574 Link Here
568
                paging: false,
568
                paging: false,
569
                searching: false,
569
                searching: false,
570
                dom: "t",
570
                dom: "t",
571
                columnDefs: [{ type: "anti-the", targets: ["anti-the"] }],
572
            });
571
            });
573
            [% IF ( (Koha.Preference('AcqEnableFiles')) && files ) %]
572
            [% IF ( (Koha.Preference('AcqEnableFiles')) && files ) %]
574
                $("#invoice_files_table").kohaTable({
573
                $("#invoice_files_table").kohaTable({
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/newordersubscription.tt (-3 lines)
Lines 135-143 Link Here
135
135
136
        $(document).ready(function() {
136
        $(document).ready(function() {
137
            $("#srlt").kohaTable({
137
            $("#srlt").kohaTable({
138
                columnDefs: [
139
                    { type: "anti-the", targets: ["anti-the"] },
140
                ],
141
                pagingType: "full",
138
                pagingType: "full",
142
            });
139
            });
143
140
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/ordered.tt (-1 lines)
Lines 144-150 Link Here
144
    <script>
144
    <script>
145
        $(document).ready(function() {
145
        $(document).ready(function() {
146
            $("#spent").kohaTable({
146
            $("#spent").kohaTable({
147
                columnDefs: [{ type: "anti-the", targets: ["anti-the"] }],
148
                pagingType: "full",
147
                pagingType: "full",
149
            });
148
            });
150
        });
149
        });
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/spent.tt (-1 lines)
Lines 159-165 Link Here
159
    <script>
159
    <script>
160
        $(document).ready(function() {
160
        $(document).ready(function() {
161
            $("#spent").kohaTable({
161
            $("#spent").kohaTable({
162
                columnDefs: [{ type: "anti-the", targets: ["anti-the"] }],
163
                pagingType: "full",
162
                pagingType: "full",
164
            });
163
            });
165
        });
164
        });
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt (-3 lines)
Lines 2035-2043 Link Here
2035
2035
2036
            [% IF suggestions.count %]
2036
            [% IF suggestions.count %]
2037
                $("#suggestions").kohaTable({
2037
                $("#suggestions").kohaTable({
2038
                    columnDefs: [
2039
                        { type: "anti-the", targets: ["anti-the"] },
2040
                    ],
2041
                    pagingType: "full",
2038
                    pagingType: "full",
2042
                });
2039
                });
2043
            [% END %]
2040
            [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/checkout-notes.tt (-3 lines)
Lines 144-152 Link Here
144
        $(document).ready(function(){
144
        $(document).ready(function(){
145
            $("#notestable").kohaTable({
145
            $("#notestable").kohaTable({
146
                order: [[1, "asc"]],
146
                order: [[1, "asc"]],
147
                columnDefs: [
148
                    { type: "anti-the", targets: ["anti-the"] },
149
                ],
150
                pagingType: "full",
147
                pagingType: "full",
151
            });
148
            });
152
149
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation_batch_checkouts.tt (-3 lines)
Lines 366-374 Link Here
366
            $("#checkout_infos").kohaTable({
366
            $("#checkout_infos").kohaTable({
367
                dom: "t",
367
                dom: "t",
368
                order: [],
368
                order: [],
369
                columnDefs: [
370
                    { type: "anti-the", targets: ["anti-the"] },
371
                ],
372
                paginate: false,
369
                paginate: false,
373
            });
370
            });
374
        });
371
        });
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/reserveratios.tt (-1 lines)
Lines 212-218 Link Here
212
                        [3, "asc"],
212
                        [3, "asc"],
213
                    ],
213
                    ],
214
                    columnDefs: [
214
                    columnDefs: [
215
                        { type: "anti-the", targets: ["anti-the"] },
216
                        { type: "natural", targets: ["natural"] },
215
                        { type: "natural", targets: ["natural"] },
217
                    ],
216
                    ],
218
                    pagingType: "full",
217
                    pagingType: "full",
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/transfers_to_send.tt (-1 lines)
Lines 123-129 Link Here
123
                $("#transferst[% library.branchcode | html %]").kohaTable({
123
                $("#transferst[% library.branchcode | html %]").kohaTable({
124
                    columnDefs: [
124
                    columnDefs: [
125
                        { targets: [-1], orderable: false, searchable: false },
125
                        { targets: [-1], orderable: false, searchable: false },
126
                        { type: "anti-the", targets: ["anti-the"] },
127
                    ],
126
                    ],
128
                    dom: "t",
127
                    dom: "t",
129
                    paginate: false,
128
                    paginate: false,
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/transferstoreceive.tt (-1 lines)
Lines 127-133 Link Here
127
                $("#transferst[% branchesloo.branchcode | html %]").kohaTable({
127
                $("#transferst[% branchesloo.branchcode | html %]").kohaTable({
128
                    columnDefs: [
128
                    columnDefs: [
129
                        { targets: [-1], orderable: false, searchable: false },
129
                        { targets: [-1], orderable: false, searchable: false },
130
                        { type: "anti-the", targets: ["anti-the"] },
131
                    ],
130
                    ],
132
                    dom: "t",
131
                    dom: "t",
133
                    paginate: false,
132
                    paginate: false,
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-batch.tt (-1 lines)
Lines 336-342 Link Here
336
            $("#batcht").kohaTable({
336
            $("#batcht").kohaTable({
337
                autoWidth: false,
337
                autoWidth: false,
338
                columnDefs: [
338
                columnDefs: [
339
                    { type: "anti-the", targets: ["anti-the"] },
340
                    { targets: [-1, -2], orderable: false, searchable: false },
339
                    { targets: [-1, -2], orderable: false, searchable: false },
341
                ],
340
                ],
342
                order: [[0, "asc"]],
341
                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 2411-2419 Link Here
2411
                            "columnDefs": [
2411
                            "columnDefs": [
2412
                                { "width": "35%", "targets": 1 }
2412
                                { "width": "35%", "targets": 1 }
2413
                            ],
2413
                            ],
2414
                            "columnDefs": [
2415
                                { "type": "anti-the", "targets":  [ 'anti-the'] }
2416
                            ]
2417
                        });
2414
                        });
2418
2415
2419
                        $(".showbutton").on("click", function(e){
2416
                        $(".showbutton").on("click", function(e){
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tt (-1 lines)
Lines 249-255 Link Here
249
                dom: "t",
249
                dom: "t",
250
                columnDefs: [
250
                columnDefs: [
251
                    { targets: [0], orderable: false, searchable: false },
251
                    { targets: [0], orderable: false, searchable: false },
252
                    { type: "anti-the", targets: ["anti-the"] },
253
                ],
252
                ],
254
                paginate: false,
253
                paginate: false,
255
            });
254
            });
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt (-9 lines)
Lines 348-372 Link Here
348
            var osrlt = $("#opened_panel table").kohaTable({
348
            var osrlt = $("#opened_panel table").kohaTable({
349
                pagingType: "full",
349
                pagingType: "full",
350
                order: [[2, "asc"]],
350
                order: [[2, "asc"]],
351
                columnDefs: [
352
                    { type: "anti-the", targets: ["anti-the"] },
353
                ],
354
            });
351
            });
355
352
356
            var csrlt = $("#closed_panel table").kohaTable({
353
            var csrlt = $("#closed_panel table").kohaTable({
357
                // FIXME sort function of additional_fields!
354
                // FIXME sort function of additional_fields!
358
                order: [[2, "asc"]],
355
                order: [[2, "asc"]],
359
                pagingType: "full",
356
                pagingType: "full",
360
                columnDefs: [
361
                    { type: "anti-the", targets: ["anti-the"] },
362
                ],
363
            });
357
            });
364
358
365
            var manarlt = $("#mana_results_datatable").kohaTable({
359
            var manarlt = $("#mana_results_datatable").kohaTable({
366
                pagingType: "full",
360
                pagingType: "full",
367
                columnDefs: [
368
                    { type: "anti-the", targets: ["anti-the"] },
369
                ],
370
            });
361
            });
371
362
372
            $("#reopensub").click(function(){
363
            $("#reopensub").click(function(){
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt (-3 lines)
Lines 605-613 Link Here
605
605
606
                var table = $("#table_additional_contents").kohaTable({
606
                var table = $("#table_additional_contents").kohaTable({
607
                    order: [[4, "desc"]],
607
                    order: [[4, "desc"]],
608
                    columnDefs: [
609
                        { type: "anti-the", targets: ["anti-the"] },
610
                    ],
611
                    pagingType: "full_numbers",
608
                    pagingType: "full_numbers",
612
                });
609
                });
613
610
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt (-1 lines)
Lines 474-480 Link Here
474
                [% ELSE %]
474
                [% ELSE %]
475
                    // first column contains checkboxes
475
                    // first column contains checkboxes
476
                    "columnDefs": [
476
                    "columnDefs": [
477
                        { "type": "anti-the", "targets":  [ "anti-the" ] },
478
                        { "orderable": false, "searchable":  false, "targets": [ 0 ] }
477
                        { "orderable": false, "searchable":  false, "targets": [ 0 ] }
479
                    ],
478
                    ],
480
                    // 3rd column is callnumber
479
                    // 3rd column is callnumber
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/problem-reports.tt (-3 lines)
Lines 150-158 Link Here
150
        $(document).ready(function(){
150
        $(document).ready(function(){
151
            $("#problemreportstable").kohaTable({
151
            $("#problemreportstable").kohaTable({
152
                order: [[1, "asc"]],
152
                order: [[1, "asc"]],
153
                columnDefs: [
154
                    { type: "anti-the", targets: ["anti-the"] },
155
                ],
156
                pagingType: "full",
153
                pagingType: "full",
157
            });
154
            });
158
155
(-)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 (-6 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
        },
Lines 80-88 $(document).ready(function() { Link Here
80
77
81
    $("#stock_rotation").kohaTable(
78
    $("#stock_rotation").kohaTable(
82
        {
79
        {
83
            columnDefs: [
84
                { type: "anti-the", targets: ["anti-the"] },
85
            ],
86
            pagingType: "full",
80
            pagingType: "full",
87
            autoWidth: false,
81
            autoWidth: false,
88
        },
82
        },
(-)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 (-10 lines)
Lines 571-586 Link Here
571
                { "className": 'dtr-control', "orderable": false, "targets": -1 },
571
                { "className": 'dtr-control', "orderable": false, "targets": -1 },
572
                { responsivePriority: 1, targets: 1 }
572
                { responsivePriority: 1, targets: 1 }
573
            ],
573
            ],
574
            "columns": [
575
                [% IF ( loggedinusername ) %]null,[% END %]
576
                { "type": "anti-the" },
577
                null,
578
                null,
579
                [% IF Koha.Preference( 'OPACViewOthersSuggestions' ) == 1 %]null,[% END %]
580
                [% IF Koha.Preference( 'OpacSuggestionManagedBy' ) %]null,[% END %]
581
                null,
582
                null
583
            ],
584
            "responsive": {
574
            "responsive": {
585
                details: {
575
                details: {
586
                    type: 'column',
576
                    type: 'column',
(-)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