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 565-571 Link Here
565
                paging: false,
565
                paging: false,
566
                searching: false,
566
                searching: false,
567
                dom: "t",
567
                dom: "t",
568
                columnDefs: [{ type: "anti-the", targets: ["anti-the"] }],
569
            });
568
            });
570
            [% IF ( (Koha.Preference('AcqEnableFiles')) && files ) %]
569
            [% IF ( (Koha.Preference('AcqEnableFiles')) && files ) %]
571
                $("#invoice_files_table").kohaTable({
570
                $("#invoice_files_table").kohaTable({
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/newordersubscription.tt (-1 lines)
Lines 125-131 Link Here
125
125
126
        $(document).ready(function () {
126
        $(document).ready(function () {
127
            $("#srlt").kohaTable({
127
            $("#srlt").kohaTable({
128
                columnDefs: [{ type: "anti-the", targets: ["anti-the"] }],
129
                pagingType: "full",
128
                pagingType: "full",
130
            });
129
            });
131
130
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/ordered.tt (-1 lines)
Lines 121-127 Link Here
121
    <script>
121
    <script>
122
        $(document).ready(function () {
122
        $(document).ready(function () {
123
            $("#spent").kohaTable({
123
            $("#spent").kohaTable({
124
                columnDefs: [{ type: "anti-the", targets: ["anti-the"] }],
125
                pagingType: "full",
124
                pagingType: "full",
126
            });
125
            });
127
        });
126
        });
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/spent.tt (-1 lines)
Lines 131-137 Link Here
131
    <script>
131
    <script>
132
        $(document).ready(function () {
132
        $(document).ready(function () {
133
            $("#spent").kohaTable({
133
            $("#spent").kohaTable({
134
                columnDefs: [{ type: "anti-the", targets: ["anti-the"] }],
135
                pagingType: "full",
134
                pagingType: "full",
136
            });
135
            });
137
        });
136
        });
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt (-3 lines)
Lines 2087-2095 Link Here
2087
2087
2088
            [% IF suggestions.count %]
2088
            [% IF suggestions.count %]
2089
                $("#suggestions").kohaTable({
2089
                $("#suggestions").kohaTable({
2090
                    columnDefs: [
2091
                        { type: "anti-the", targets: ["anti-the"] },
2092
                    ],
2093
                    pagingType: "full",
2090
                    pagingType: "full",
2094
                });
2091
                });
2095
            [% END %]
2092
            [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/checkout-notes.tt (-1 lines)
Lines 122-128 Link Here
122
        $(document).ready(function () {
122
        $(document).ready(function () {
123
            $("#notestable").kohaTable({
123
            $("#notestable").kohaTable({
124
                order: [[1, "asc"]],
124
                order: [[1, "asc"]],
125
                columnDefs: [{ type: "anti-the", targets: ["anti-the"] }],
126
                pagingType: "full",
125
                pagingType: "full",
127
            });
126
            });
128
127
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation_batch_checkouts.tt (-3 lines)
Lines 362-370 Link Here
362
            $("#checkout_infos").kohaTable({
362
            $("#checkout_infos").kohaTable({
363
                dom: "t",
363
                dom: "t",
364
                order: [],
364
                order: [],
365
                columnDefs: [
366
                    { type: "anti-the", targets: ["anti-the"] },
367
                ],
368
                paginate: false,
365
                paginate: false,
369
            });
366
            });
370
        });
367
        });
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/reserveratios.tt (-1 lines)
Lines 224-230 Link Here
224
                         [3, "asc"],
224
                         [3, "asc"],
225
                     ],
225
                     ],
226
                     columnDefs: [
226
                     columnDefs: [
227
                         { type: "anti-the", targets: ["anti-the"] },
228
                         { type: "natural", targets: ["natural"] },
227
                         { type: "natural", targets: ["natural"] },
229
                     ],
228
                     ],
230
                     pagingType: "full",
229
                     pagingType: "full",
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/transfers_to_send.tt (-1 lines)
Lines 102-108 Link Here
102
                $("#transferst[% library.branchcode | html %]").kohaTable({
102
                $("#transferst[% library.branchcode | html %]").kohaTable({
103
                    columnDefs: [
103
                    columnDefs: [
104
                        { targets: [-1], orderable: false, searchable: false },
104
                        { targets: [-1], orderable: false, searchable: false },
105
                        { type: "anti-the", targets: ["anti-the"] },
106
                    ],
105
                    ],
107
                    dom: "t",
106
                    dom: "t",
108
                    paginate: false,
107
                    paginate: false,
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/transferstoreceive.tt (-1 lines)
Lines 117-123 Link Here
117
                $("#transferst[% branchesloo.branchcode | html %]").kohaTable({
117
                $("#transferst[% branchesloo.branchcode | html %]").kohaTable({
118
                    columnDefs: [
118
                    columnDefs: [
119
                        { targets: [-1], orderable: false, searchable: false },
119
                        { targets: [-1], orderable: false, searchable: false },
120
                        { type: "anti-the", targets: ["anti-the"] },
121
                    ],
120
                    ],
122
                    dom: "t",
121
                    dom: "t",
123
                    paginate: false,
122
                    paginate: false,
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-batch.tt (-1 lines)
Lines 349-355 Link Here
349
            $("#batcht").kohaTable({
349
            $("#batcht").kohaTable({
350
                autoWidth: false,
350
                autoWidth: false,
351
                columnDefs: [
351
                columnDefs: [
352
                    { type: "anti-the", targets: ["anti-the"] },
353
                    { targets: [-1, -2], orderable: false, searchable: false },
352
                    { targets: [-1, -2], orderable: false, searchable: false },
354
                ],
353
                ],
355
                order: [[0, "asc"]],
354
                order: [[0, "asc"]],
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/recalls/recalls_to_pull.tt (-4 / +1 lines)
Lines 152-161 Link Here
152
    <script>
152
    <script>
153
        $(document).ready(function () {
153
        $(document).ready(function () {
154
            $("#recalls-table").kohaTable({
154
            $("#recalls-table").kohaTable({
155
                columnDefs: [
155
                columnDefs: [{ type: "title-string", targets: ["title-string"] }],
156
                    { type: "title-string", targets: ["title-string"] },
157
                    { type: "anti-the", targets: ["anti-the"] },
158
                ],
159
                pagingType: "full_numbers",
156
                pagingType: "full_numbers",
160
            });
157
            });
161
158
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt (-3 lines)
Lines 2549-2557 Link Here
2549
                            "columnDefs": [
2549
                            "columnDefs": [
2550
                                { "width": "35%", "targets": 1 }
2550
                                { "width": "35%", "targets": 1 }
2551
                            ],
2551
                            ],
2552
                            "columnDefs": [
2553
                                { "type": "anti-the", "targets":  [ 'anti-the'] }
2554
                            ]
2555
                        });
2552
                        });
2556
2553
2557
                        $(".showbutton").on("click", function(e){
2554
                        $(".showbutton").on("click", function(e){
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tt (-4 / +1 lines)
Lines 241-250 Link Here
241
            sTable = $("#claimst").kohaTable({
241
            sTable = $("#claimst").kohaTable({
242
                dom: "t",
242
                dom: "t",
243
                order: [[7, "asc"]],
243
                order: [[7, "asc"]],
244
                columnDefs: [
244
                columnDefs: [{ sortable: false, targets: ["NoSort"] }],
245
                    { sortable: false, targets: ["NoSort"] },
246
                    { type: "anti-the", targets: ["anti-the"] },
247
                ],
248
                paging: false,
245
                paging: false,
249
            });
246
            });
250
247
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt (-9 lines)
Lines 337-361 Link Here
337
            var osrlt = $("#opened_panel table").kohaTable({
337
            var osrlt = $("#opened_panel table").kohaTable({
338
                pagingType: "full",
338
                pagingType: "full",
339
                order: [[2, "asc"]],
339
                order: [[2, "asc"]],
340
                columnDefs: [
341
                    { type: "anti-the", targets: ["anti-the"] },
342
                ],
343
            });
340
            });
344
341
345
            var csrlt = $("#closed_panel table").kohaTable({
342
            var csrlt = $("#closed_panel table").kohaTable({
346
                // FIXME sort function of additional_fields!
343
                // FIXME sort function of additional_fields!
347
                order: [[2, "asc"]],
344
                order: [[2, "asc"]],
348
                pagingType: "full",
345
                pagingType: "full",
349
                columnDefs: [
350
                    { type: "anti-the", targets: ["anti-the"] },
351
                ],
352
            });
346
            });
353
347
354
            var manarlt = $("#mana_results_datatable").kohaTable({
348
            var manarlt = $("#mana_results_datatable").kohaTable({
355
                pagingType: "full",
349
                pagingType: "full",
356
                columnDefs: [
357
                    { type: "anti-the", targets: ["anti-the"] },
358
                ],
359
            });
350
            });
360
351
361
            $("#reopensub").click(function(){
352
            $("#reopensub").click(function(){
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt (-1 lines)
Lines 597-603 Link Here
597
            $(document).ready(function () {
597
            $(document).ready(function () {
598
                var table = $("#table_additional_contents").kohaTable({
598
                var table = $("#table_additional_contents").kohaTable({
599
                    order: [[4, "desc"]],
599
                    order: [[4, "desc"]],
600
                    columnDefs: [{ type: "anti-the", targets: ["anti-the"] }],
601
                    pagingType: "full_numbers",
600
                    pagingType: "full_numbers",
602
                });
601
                });
603
                let table_dt = table.DataTable();
602
                let table_dt = table.DataTable();
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt (-1 lines)
Lines 468-474 Link Here
468
                [% ELSE %]
468
                [% ELSE %]
469
                    // first column contains checkboxes
469
                    // first column contains checkboxes
470
                    "columnDefs": [
470
                    "columnDefs": [
471
                        { "type": "anti-the", "targets":  [ "anti-the" ] },
472
                        { "orderable": false, "searchable":  false, "targets": [ 0 ] }
471
                        { "orderable": false, "searchable":  false, "targets": [ 0 ] }
473
                    ],
472
                    ],
474
                    // 3rd column is callnumber
473
                    // 3rd column is callnumber
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/problem-reports.tt (-1 lines)
Lines 144-150 Link Here
144
        $(document).ready(function () {
144
        $(document).ready(function () {
145
            $("#problemreportstable").kohaTable({
145
            $("#problemreportstable").kohaTable({
146
                order: [[1, "asc"]],
146
                order: [[1, "asc"]],
147
                columnDefs: [{ type: "anti-the", targets: ["anti-the"] }],
148
                pagingType: "full",
147
                pagingType: "full",
149
            });
148
            });
150
149
(-)a/koha-tmpl/intranet-tmpl/prog/js/addorderiso2709.js (-1 lines)
Lines 3-9 Link Here
3
$(document).ready(function () {
3
$(document).ready(function () {
4
    $("#Aform").preventDoubleFormSubmit();
4
    $("#Aform").preventDoubleFormSubmit();
5
    $("#files").kohaTable({
5
    $("#files").kohaTable({
6
        columnDefs: [{ type: "anti-the", targets: ["anti-the"] }],
7
        pagingType: "full",
6
        pagingType: "full",
8
        order: [],
7
        order: [],
9
    });
8
    });
(-)a/koha-tmpl/intranet-tmpl/prog/js/cart.js (-4 / +1 lines)
Lines 96-105 $(document).ready(function () { Link Here
96
96
97
    $("#itemst").kohaTable({
97
    $("#itemst").kohaTable({
98
        dom: "t",
98
        dom: "t",
99
        columnDefs: [
99
        columnDefs: [{ type: "callnumbers", targets: ["callnumbers"] }],
100
            { type: "anti-the", targets: ["anti-the"] },
101
            { type: "callnumbers", targets: ["callnumbers"] },
102
        ],
103
        order: [[1, "asc"]],
100
        order: [[1, "asc"]],
104
        paging: false,
101
        paging: false,
105
    });
102
    });
(-)a/koha-tmpl/intranet-tmpl/prog/js/holds.js (-1 lines)
Lines 476-482 $(document).ready(function () { Link Here
476
                    paging: false,
476
                    paging: false,
477
                    processing: true,
477
                    processing: true,
478
                    serverSide: false,
478
                    serverSide: false,
479
                    columnDefs: [{ type: "anti-the", targets: ["anti-the"] }],
480
                    ajax: {
479
                    ajax: {
481
                        url: "/cgi-bin/koha/svc/holds",
480
                        url: "/cgi-bin/koha/svc/holds",
482
                        data: function (d) {
481
                        data: function (d) {
(-)a/koha-tmpl/intranet-tmpl/prog/js/pages/batchMod.js (-1 lines)
Lines 174-180 $(document).ready(function () { Link Here
174
        columnDefs: [
174
        columnDefs: [
175
            { targets: [0, 1], orderable: false, searchable: true },
175
            { targets: [0, 1], orderable: false, searchable: true },
176
            { targets: [0], visible: false },
176
            { targets: [0], visible: false },
177
            { type: "anti-the", targets: ["anti-the"] },
178
        ],
177
        ],
179
        paging: false,
178
        paging: false,
180
    });
179
    });
(-)a/koha-tmpl/intranet-tmpl/prog/js/pages/stockrotation.js (-2 lines)
Lines 73-79 $(document).ready(function () { Link Here
73
73
74
    $("#stock_rotation_manage_items").kohaTable(
74
    $("#stock_rotation_manage_items").kohaTable(
75
        {
75
        {
76
            columnDefs: [{ type: "anti-the", targets: ["anti-the"] }],
77
            pagingType: "full",
76
            pagingType: "full",
78
            autoWidth: false,
77
            autoWidth: false,
79
        },
78
        },
Lines 82-88 $(document).ready(function () { Link Here
82
81
83
    $("#stock_rotation").kohaTable(
82
    $("#stock_rotation").kohaTable(
84
        {
83
        {
85
            columnDefs: [{ type: "anti-the", targets: ["anti-the"] }],
86
            pagingType: "full",
84
            pagingType: "full",
87
            autoWidth: false,
85
            autoWidth: false,
88
        },
86
        },
(-)a/koha-tmpl/intranet-tmpl/prog/js/pages/tags-review.js (-1 lines)
Lines 75-81 var success_test_call = function () { Link Here
75
75
76
$(document).ready(function () {
76
$(document).ready(function () {
77
    $("#tagst").kohaTable({
77
    $("#tagst").kohaTable({
78
        columnDefs: [{ type: "anti-the", targets: ["anti-the"] }],
79
        order: [[2, "desc"]],
78
        order: [[2, "desc"]],
80
        pagingType: "full",
79
        pagingType: "full",
81
    });
80
    });
(-)a/koha-tmpl/intranet-tmpl/prog/js/recalls.js (-4 / +1 lines)
Lines 128-137 $(document).ready(function () { Link Here
128
    });
128
    });
129
129
130
    $("#recalls-table").kohaTable({
130
    $("#recalls-table").kohaTable({
131
        columnDefs: [
131
        columnDefs: [{ type: "title-string", targets: ["title-string"] }],
132
            { type: "title-string", targets: ["title-string"] },
133
            { type: "anti-the", targets: ["anti-the"] },
134
        ],
135
        pagingType: "full_numbers",
132
        pagingType: "full_numbers",
136
    });
133
    });
137
134
(-)a/koha-tmpl/intranet-tmpl/prog/js/subscription-add.js (-1 lines)
Lines 564-570 function mana_search() { Link Here
564
            ],
564
            ],
565
            autoWidth: false,
565
            autoWidth: false,
566
            columnDefs: [{ width: "35%", targets: 1 }],
566
            columnDefs: [{ width: "35%", targets: 1 }],
567
            columnDefs: [{ type: "anti-the", targets: ["anti-the"] }],
568
        });
567
        });
569
        if (
568
        if (
570
            $("#mana_results_datatable").length &&
569
            $("#mana_results_datatable").length &&
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-basket.tt (-1 lines)
Lines 547-553 Link Here
547
                var itemst = $("#itemst").kohaTable({
547
                var itemst = $("#itemst").kohaTable({
548
                    order: [[1, "asc"]],
548
                    order: [[1, "asc"]],
549
                    columnDefs: [{ targets: [0, -1], orderable: false, searchable: false }],
549
                    columnDefs: [{ targets: [0, -1], orderable: false, searchable: false }],
550
                    columns: [null, { type: "anti-the" }, null, null, null],
551
                });
550
                });
552
551
553
                var buttons = new $.fn.dataTable.Buttons(itemst, {
552
                var buttons = new $.fn.dataTable.Buttons(itemst, {
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-holdshistory.tt (-1 lines)
Lines 188-194 Link Here
188
                dom: '<"top"<"table_entries"i><"table_controls"fB>>t',
188
                dom: '<"top"<"table_entries"i><"table_controls"fB>>t',
189
                autoWidth: false,
189
                autoWidth: false,
190
                sorting: [[4, "desc"]],
190
                sorting: [[4, "desc"]],
191
                columnDefs: [{ sType: "anti-the", aTargets: ["anti-the"] }],
192
                language: {
191
                language: {
193
                    search: "_INPUT_",
192
                    search: "_INPUT_",
194
                    searchPlaceholder: _("Search"),
193
                    searchPlaceholder: _("Search"),
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-recalls.tt (-4 / +1 lines)
Lines 139-148 Link Here
139
                responsive: {
139
                responsive: {
140
                    details: { type: "column", target: -1 },
140
                    details: { type: "column", target: -1 },
141
                },
141
                },
142
                columnDefs: [
142
                columnDefs: [{ className: "dtr-control", orderable: false, targets: -1 }],
143
                    { type: "anti-the", targets: ["anti-the"] },
144
                    { className: "dtr-control", orderable: false, targets: -1 },
145
                ],
146
            });
143
            });
147
        });
144
        });
148
    </script>
145
    </script>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt (-10 lines)
Lines 602-617 Link Here
602
                    { "className": 'dtr-control', "orderable": false, "targets": -1 },
602
                    { "className": 'dtr-control', "orderable": false, "targets": -1 },
603
                    { responsivePriority: 1, targets: 1 }
603
                    { responsivePriority: 1, targets: 1 }
604
                ],
604
                ],
605
                "columns": [
606
                    [% IF ( loggedinusername ) %]null,[% END %]
607
                    { "type": "anti-the" },
608
                    null,
609
                    null,
610
                    [% IF Koha.Preference( 'OPACViewOthersSuggestions' ) == 1 %]null,[% END %]
611
                    [% IF Koha.Preference( 'OpacSuggestionManagedBy' ) %]null,[% END %]
612
                    null,
613
                    null
614
                ],
615
                "responsive": {
605
                "responsive": {
616
                    details: {
606
                    details: {
617
                        type: 'column',
607
                        type: 'column',
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-tags.tt (-1 lines)
Lines 299-305 Link Here
299
                sorting: [[2, "asc"]],
299
                sorting: [[2, "asc"]],
300
                columnDefs: [
300
                columnDefs: [
301
                    { targets: [0], orderable: false, searchable: false },
301
                    { targets: [0], orderable: false, searchable: false },
302
                    { sType: "anti-the", aTargets: ["anti-the"] },
303
                    { className: "dtr-control", orderable: false, targets: -1 },
302
                    { className: "dtr-control", orderable: false, targets: -1 },
304
                    { responsivePriority: 1, targets: 2 },
303
                    { responsivePriority: 1, targets: 2 },
305
                ],
304
                ],
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-topissues.tt (-4 / +1 lines)
Lines 149-158 Link Here
149
        $(function () {
149
        $(function () {
150
            $("#topissuest").kohaTable({
150
            $("#topissuest").kohaTable({
151
                sorting: [[3, "desc"]],
151
                sorting: [[3, "desc"]],
152
                columnDefs: [
152
                columnDefs: [{ className: "dtr-control", orderable: false, targets: -1 }],
153
                    { type: "anti-the", targets: ["anti-the"] },
154
                    { className: "dtr-control", orderable: false, targets: -1 },
155
                ],
156
                responsive: {
153
                responsive: {
157
                    details: {
154
                    details: {
158
                        type: "column",
155
                        type: "column",
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt (-1 lines)
Lines 1210-1216 Link Here
1210
                    "sorting" : [[ thIndex, 'asc' ]],
1210
                    "sorting" : [[ thIndex, 'asc' ]],
1211
                    "dom": '<"top"<"table_entries"><"table_controls"fB>>t',
1211
                    "dom": '<"top"<"table_entries"><"table_controls"fB>>t',
1212
                    "columnDefs": [
1212
                    "columnDefs": [
1213
                        { "type": "anti-the", "targets" : [ "anti-the" ] },
1214
                        { "visible": false, "targets" : [ "hidden" ] },
1213
                        { "visible": false, "targets" : [ "hidden" ] },
1215
                        { "className": 'dtr-control', "orderable": false, "targets": -1 }
1214
                        { "className": 'dtr-control', "orderable": false, "targets": -1 }
1216
                    ],
1215
                    ],
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt (-2 lines)
Lines 463-469 Link Here
463
                            dom: '<"top"<"table_entries"><"table_controls"f>>t<"clear">',
463
                            dom: '<"top"<"table_entries"><"table_controls"f>>t<"clear">',
464
                            columnDefs: [
464
                            columnDefs: [
465
                                { targets: ["noshow"], visible: false, searchable: false },
465
                                { targets: ["noshow"], visible: false, searchable: false },
466
                                { type: "anti-the", targets: ["anti-the"] },
467
                                { visible: false, targets: ["hidden"] },
466
                                { visible: false, targets: ["hidden"] },
468
                                { className: "dtr-control", orderable: false, targets: -1 },
467
                                { className: "dtr-control", orderable: false, targets: -1 },
469
                            ],
468
                            ],
470
- 

Return to bug 38984