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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basketgroup.tt (-2 lines)
Lines 437-443 Link Here
437
            [% ELSE %]
437
            [% ELSE %]
438
                grouped = $("#grouped").kohaTable({
438
                grouped = $("#grouped").kohaTable({
439
                    dom: "t",
439
                    dom: "t",
440
                    columnDefs: [{ orderable: false, targets: ["NoSort"] }],
441
                    autoWidth: false,
440
                    autoWidth: false,
442
                    language: {
441
                    language: {
443
                        emptyTable: _("There are no baskets in this group"),
442
                        emptyTable: _("There are no baskets in this group"),
Lines 445-451 Link Here
445
                });
444
                });
446
                ungrouped = $("#ungrouped").kohaTable({
445
                ungrouped = $("#ungrouped").kohaTable({
447
                    dom: "t",
446
                    dom: "t",
448
                    columnDefs: [{ orderable: false, targets: ["NoSort"] }],
449
                    autoWidth: false,
447
                    autoWidth: false,
450
                    language: {
448
                    language: {
451
                        emptyTable: _("There are no ungrouped baskets"),
449
                        emptyTable: _("There are no ungrouped baskets"),
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/newordersubscription.tt (-4 / +1 lines)
Lines 125-134 Link Here
125
125
126
        $(document).ready(function () {
126
        $(document).ready(function () {
127
            $("#srlt").kohaTable({
127
            $("#srlt").kohaTable({
128
                columnDefs: [
128
                columnDefs: [{ type: "anti-the", targets: ["anti-the"] }],
129
                    { orderable: false, searchable: false, targets: ["NoSort"] },
130
                    { type: "anti-the", targets: ["anti-the"] },
131
                ],
132
                pagingType: "full",
129
                pagingType: "full",
133
            });
130
            });
134
131
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt (-3 lines)
Lines 688-696 Link Here
688
688
689
         $(document).ready(function() {
689
         $(document).ready(function() {
690
            var contractst = $("#contractst").kohaTable({
690
            var contractst = $("#contractst").kohaTable({
691
                columnDefs: [
692
                    { orderable: false, searchable:  false, targets: [ 'NoSort' ] }
693
                ],
694
                dom: 't'
691
                dom: 't'
695
            } );
692
            } );
696
            $('body').on('click', '.delete-contact', null, delete_contact);
693
            $('body').on('click', '.delete-contact', null, delete_contact);
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/uncertainprice.tt (-1 lines)
Lines 192-198 Link Here
192
    <script>
192
    <script>
193
        $(document).ready(function () {
193
        $(document).ready(function () {
194
            var uncertainpricet = $("#uncertainpricet").kohaTable({
194
            var uncertainpricet = $("#uncertainpricet").kohaTable({
195
                columnDefs: [{ orderable: false, searchable: false, targets: ["NoSort"] }],
196
                pagingType: "full",
195
                pagingType: "full",
197
            });
196
            });
198
            $(".check_uncertain").on("change", function () {
197
            $(".check_uncertain").on("change", function () {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_subfields_structure.tt (-1 lines)
Lines 438-444 Link Here
438
    <script>
438
    <script>
439
        $(document).ready(function() {
439
        $(document).ready(function() {
440
            $("#table_authsubfieldstructure").kohaTable({
440
            $("#table_authsubfieldstructure").kohaTable({
441
                columnDefs: [{ orderable: false, targets: ["NoSort"] }],
442
                aaSorting: [],
441
                aaSorting: [],
443
                paginate: false,
442
                paginate: false,
444
            });
443
            });
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/localization.tt (-1 lines)
Lines 200-206 Link Here
200
200
201
            var table = $("#localization").kohaTable({
201
            var table = $("#localization").kohaTable({
202
                dom: "t",
202
                dom: "t",
203
                columnDefs: [{ orderable: false, targets: ["NoSort"] }],
204
                paginate: false,
203
                paginate: false,
205
                autoWidth: false,
204
                autoWidth: false,
206
            });
205
            });
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/oai_servers.tt (-1 lines)
Lines 213-219 Link Here
213
        [% ELSE %]
213
        [% ELSE %]
214
            $(document).ready(function() {
214
            $(document).ready(function() {
215
                $("#serverst").kohaTable({
215
                $("#serverst").kohaTable({
216
                    columnDefs: [{ orderable: false, targets: ["NoSort"] }],
217
                    pagingType: "full",
216
                    pagingType: "full",
218
                });
217
                });
219
                $(".delete").on("click",function(e){
218
                $(".delete").on("click",function(e){
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt (-1 lines)
Lines 2088-2094 Link Here
2088
            [% IF suggestions.count %]
2088
            [% IF suggestions.count %]
2089
                $("#suggestions").kohaTable({
2089
                $("#suggestions").kohaTable({
2090
                    columnDefs: [
2090
                    columnDefs: [
2091
                        { orderable: false, searchable: false, targets: ["NoSort"] },
2092
                        { type: "anti-the", targets: ["anti-the"] },
2091
                        { type: "anti-the", targets: ["anti-the"] },
2093
                    ],
2092
                    ],
2094
                    pagingType: "full",
2093
                    pagingType: "full",
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/checkout-notes.tt (-4 / +1 lines)
Lines 122-131 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: [
125
                columnDefs: [{ type: "anti-the", targets: ["anti-the"] }],
126
                    { orderable: false, searchable: false, targets: ["NoSort"] },
127
                    { type: "anti-the", targets: ["anti-the"] },
128
                ],
129
                pagingType: "full",
126
                pagingType: "full",
130
            });
127
            });
131
128
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation_batch_checkouts.tt (-1 lines)
Lines 363-369 Link Here
363
                dom: "t",
363
                dom: "t",
364
                order: [],
364
                order: [],
365
                columnDefs: [
365
                columnDefs: [
366
                    { orderable: false, searchable: false, targets: ["NoSort"] },
367
                    { type: "anti-the", targets: ["anti-the"] },
366
                    { type: "anti-the", targets: ["anti-the"] },
368
                ],
367
                ],
369
                paginate: false,
368
                paginate: false,
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt (-3 lines)
Lines 321-329 Link Here
321
            var holdst = $("#holdst").kohaTable(
321
            var holdst = $("#holdst").kohaTable(
322
                {
322
                {
323
                    pagingType: "full_numbers",
323
                    pagingType: "full_numbers",
324
                    columnDefs: [
325
                        { orderable: false, searchable: false, targets: ["NoSort"] },
326
                    ],
327
                },
324
                },
328
                table_settings,
325
                table_settings,
329
                true,
326
                true,
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/patron-clubs-tab.tt (-1 lines)
Lines 60-66 Link Here
60
[% END %]
60
[% END %]
61
<script>
61
<script>
62
    var clubs_dt_params = {
62
    var clubs_dt_params = {
63
        columnDefs: [{ orderable: false, targets: ["NoSort"] }],
64
        paginate: true,
63
        paginate: true,
65
    };
64
    };
66
    $("#table_clubnoenrollmemnts").kohaTable(clubs_dt_params);
65
    $("#table_clubnoenrollmemnts").kohaTable(clubs_dt_params);
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/lists.tt (-1 lines)
Lines 173-179 Link Here
173
173
174
            $("#patron-lists-table").kohaTable({
174
            $("#patron-lists-table").kohaTable({
175
                autoWidth: false,
175
                autoWidth: false,
176
                columnDefs: [{ orderable: false, searchable: false, targets: ["NoSort"] }],
177
                pagingType: "full",
176
                pagingType: "full",
178
                "sorting": [[ 1, "asc" ]]
177
                "sorting": [[ 1, "asc" ]]
179
            });
178
            });
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/patron-lists-tab.tt (-1 lines)
Lines 122-128 Link Here
122
[% END %]
122
[% END %]
123
<script>
123
<script>
124
    var patron_lists_dt_params = {
124
    var patron_lists_dt_params = {
125
        columnDefs: [{ orderable: false, bSearchable: false, targets: ["NoSort"] }],
126
        sPaginationType: "full",
125
        sPaginationType: "full",
127
    };
126
    };
128
    $("#table_listnopatron").kohaTable(patron_lists_dt_params);
127
    $("#table_listnopatron").kohaTable(patron_lists_dt_params);
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt (-1 lines)
Lines 2547-2553 Link Here
2547
                                { "width": "35%", "targets": 1 }
2547
                                { "width": "35%", "targets": 1 }
2548
                            ],
2548
                            ],
2549
                            "columnDefs": [
2549
                            "columnDefs": [
2550
                                { "orderable": false, "searchable":  false, "targets": [ 'NoSort' ] },
2551
                                { "type": "anti-the", "targets":  [ 'anti-the'] }
2550
                                { "type": "anti-the", "targets":  [ 'anti-the'] }
2552
                            ]
2551
                            ]
2553
                        });
2552
                        });
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemslost.tt (-3 lines)
Lines 205-213 Link Here
205
            var lostitems_table = $("#lostitems-table").kohaTable(
205
            var lostitems_table = $("#lostitems-table").kohaTable(
206
                {
206
                {
207
                    order: [],
207
                    order: [],
208
                    columnDefs: [
209
                        { orderable: false, searchable: false, targets: ["NoSort"] },
210
                    ],
211
                    autoWidth: false,
208
                    autoWidth: false,
212
                    paginate: false,
209
                    paginate: false,
213
                },
210
                },
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt (-3 lines)
Lines 338-344 Link Here
338
                pagingType: "full",
338
                pagingType: "full",
339
                order: [[2, "asc"]],
339
                order: [[2, "asc"]],
340
                columnDefs: [
340
                columnDefs: [
341
                    { orderable: false, searchable: false, targets: ["NoSort"] },
342
                    { type: "anti-the", targets: ["anti-the"] },
341
                    { type: "anti-the", targets: ["anti-the"] },
343
                ],
342
                ],
344
            });
343
            });
Lines 348-354 Link Here
348
                order: [[2, "asc"]],
347
                order: [[2, "asc"]],
349
                pagingType: "full",
348
                pagingType: "full",
350
                columnDefs: [
349
                columnDefs: [
351
                    { orderable: false, targets: ["NoSort"] },
352
                    { type: "anti-the", targets: ["anti-the"] },
350
                    { type: "anti-the", targets: ["anti-the"] },
353
                ],
351
                ],
354
            });
352
            });
Lines 356-362 Link Here
356
            var manarlt = $("#mana_results_datatable").kohaTable({
354
            var manarlt = $("#mana_results_datatable").kohaTable({
357
                pagingType: "full",
355
                pagingType: "full",
358
                columnDefs: [
356
                columnDefs: [
359
                    { orderable: false, searchable: false, targets: ["NoSort"] },
360
                    { type: "anti-the", targets: ["anti-the"] },
357
                    { type: "anti-the", targets: ["anti-the"] },
361
                ],
358
                ],
362
            });
359
            });
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt (-4 / +1 lines)
Lines 606-615 Link Here
606
            $(document).ready(function () {
606
            $(document).ready(function () {
607
                var table = $("#table_additional_contents").kohaTable({
607
                var table = $("#table_additional_contents").kohaTable({
608
                    order: [[4, "desc"]],
608
                    order: [[4, "desc"]],
609
                    columnDefs: [
609
                    columnDefs: [{ type: "anti-the", targets: ["anti-the"] }],
610
                        { orderable: false, searchable: false, targets: ["NoSort"] },
611
                        { type: "anti-the", targets: ["anti-the"] },
612
                    ],
613
                    pagingType: "full_numbers",
610
                    pagingType: "full_numbers",
614
                });
611
                });
615
                let table_dt = table.DataTable();
612
                let table_dt = table.DataTable();
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/overduerules.tt (-1 lines)
Lines 189-195 Link Here
189
                $("#rulestabs a:first").tab("show");
189
                $("#rulestabs a:first").tab("show");
190
            }
190
            }
191
            $(".overduerulest").kohaTable({
191
            $(".overduerulest").kohaTable({
192
                columnDefs: [{ targets: ["NoSort"], orderable: false, searchable: false }],
193
                dom: '<"top pager"f>rt<"clear">',
192
                dom: '<"top pager"f>rt<"clear">',
194
                paginate: false,
193
                paginate: false,
195
            });
194
            });
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/problem-reports.tt (-4 / +1 lines)
Lines 144-153 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: [
147
                columnDefs: [{ type: "anti-the", targets: ["anti-the"] }],
148
                    { orderable: false, searchable: false, targets: ["NoSort"] },
149
                    { type: "anti-the", targets: ["anti-the"] },
150
                ],
151
                pagingType: "full",
148
                pagingType: "full",
152
            });
149
            });
153
150
(-)a/koha-tmpl/intranet-tmpl/prog/js/addorderiso2709.js (-4 / +1 lines)
Lines 3-12 Link Here
3
$(document).ready(function () {
3
$(document).ready(function () {
4
    $("#Aform").preventDoubleFormSubmit();
4
    $("#Aform").preventDoubleFormSubmit();
5
    $("#files").kohaTable({
5
    $("#files").kohaTable({
6
        columnDefs: [
6
        columnDefs: [{ type: "anti-the", targets: ["anti-the"] }],
7
            { orderable: false, searchable: false, targets: ["NoSort"] },
8
            { type: "anti-the", targets: ["anti-the"] },
9
        ],
10
        pagingType: "full",
7
        pagingType: "full",
11
        order: [],
8
        order: [],
12
    });
9
    });
(-)a/koha-tmpl/intranet-tmpl/prog/js/cart.js (-1 lines)
Lines 97-103 $(document).ready(function () { Link Here
97
    $("#itemst").kohaTable({
97
    $("#itemst").kohaTable({
98
        dom: "t",
98
        dom: "t",
99
        columnDefs: [
99
        columnDefs: [
100
            { orderable: false, searchable: false, targets: ["NoSort"] },
101
            { type: "anti-the", targets: ["anti-the"] },
100
            { type: "anti-the", targets: ["anti-the"] },
102
            { type: "callnumbers", targets: ["callnumbers"] },
101
            { type: "callnumbers", targets: ["callnumbers"] },
103
        ],
102
        ],
(-)a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js (-8 / +1 lines)
Lines 1384-1397 $(document).ready(function () { Link Here
1384
                autoWidth: false,
1384
                autoWidth: false,
1385
                dom: "rt",
1385
                dom: "rt",
1386
                order: [],
1386
                order: [],
1387
                columnDefs: [
1387
                columnDefs: [{ type: "anti-the", targets: ["anti-the"] }],
1388
                    {
1389
                        orderable: false,
1390
                        searchable: false,
1391
                        targets: ["NoSort"],
1392
                    },
1393
                    { type: "anti-the", targets: ["anti-the"] },
1394
                ],
1395
                columns: [
1388
                columns: [
1396
                    {
1389
                    {
1397
                        data: "id",
1390
                        data: "id",
(-)a/koha-tmpl/intranet-tmpl/prog/js/elasticsearch-mappings.js (-7 / +1 lines)
Lines 53-61 function tableInit(oldtabid, newtabid) { Link Here
53
    }
53
    }
54
54
55
    $("#" + newtabid + "_table").kohaTable({
55
    $("#" + newtabid + "_table").kohaTable({
56
        columnDefs: [
57
            { orderable: false, searchable: false, targets: ["NoSort"] },
58
        ],
59
        paging: false,
56
        paging: false,
60
        autoWidth: false,
57
        autoWidth: false,
61
    });
58
    });
Lines 154-163 $(document).ready(function () { Link Here
154
151
155
    $("#facet_biblios_table").DataTable(
152
    $("#facet_biblios_table").DataTable(
156
        $.extend(true, {}, dataTablesDefaults, {
153
        $.extend(true, {}, dataTablesDefaults, {
157
            columnDefs: [
154
            columnDefs: [{ searchable: false, visible: false, targets: 0 }],
158
                { orderable: false, targets: ["NoSort"] },
159
                { searchable: false, visible: false, targets: 0 },
160
            ],
161
            dom: "t",
155
            dom: "t",
162
            paging: false,
156
            paging: false,
163
            autoWidth: false,
157
            autoWidth: false,
(-)a/koha-tmpl/intranet-tmpl/prog/js/marc_subfields_structure.js (-1 lines)
Lines 30-36 $(document).ready(function () { Link Here
30
        populateHiddenCheckboxes($(this).attr("id").split("-")[1]);
30
        populateHiddenCheckboxes($(this).attr("id").split("-")[1]);
31
    });
31
    });
32
    $("#table_marcsubfieldstructure").kohaTable({
32
    $("#table_marcsubfieldstructure").kohaTable({
33
        columnDefs: [{ sortable: false, targets: ["NoSort"] }],
34
        order: [],
33
        order: [],
35
        paginate: false,
34
        paginate: false,
36
    });
35
    });
(-)a/koha-tmpl/intranet-tmpl/prog/js/pages/stockrotation.js (-8 / +2 lines)
Lines 73-82 $(document).ready(function () { Link Here
73
73
74
    $("#stock_rotation_manage_items").kohaTable(
74
    $("#stock_rotation_manage_items").kohaTable(
75
        {
75
        {
76
            columnDefs: [
76
            columnDefs: [{ type: "anti-the", targets: ["anti-the"] }],
77
                { orderable: false, searchable: false, targets: ["NoSort"] },
78
                { type: "anti-the", targets: ["anti-the"] },
79
            ],
80
            pagingType: "full",
77
            pagingType: "full",
81
            autoWidth: false,
78
            autoWidth: false,
82
        },
79
        },
Lines 85-94 $(document).ready(function () { Link Here
85
82
86
    $("#stock_rotation").kohaTable(
83
    $("#stock_rotation").kohaTable(
87
        {
84
        {
88
            columnDefs: [
85
            columnDefs: [{ type: "anti-the", targets: ["anti-the"] }],
89
                { orderable: false, searchable: false, targets: ["NoSort"] },
90
                { type: "anti-the", targets: ["anti-the"] },
91
            ],
92
            pagingType: "full",
86
            pagingType: "full",
93
            autoWidth: false,
87
            autoWidth: false,
94
        },
88
        },
(-)a/koha-tmpl/intranet-tmpl/prog/js/pages/tags-review.js (-4 / +1 lines)
Lines 75-84 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: [
78
        columnDefs: [{ type: "anti-the", targets: ["anti-the"] }],
79
            { orderable: false, searchable: false, targets: ["NoSort"] },
80
            { type: "anti-the", targets: ["anti-the"] },
81
        ],
82
        order: [[2, "desc"]],
79
        order: [[2, "desc"]],
83
        pagingType: "full",
80
        pagingType: "full",
84
    });
81
    });
(-)a/koha-tmpl/intranet-tmpl/prog/js/subscription-add.js (-4 / +1 lines)
Lines 564-573 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: [
567
            columnDefs: [{ type: "anti-the", targets: ["anti-the"] }],
568
                { orderable: false, searchable: false, targets: ["NoSort"] },
569
                { type: "anti-the", targets: ["anti-the"] },
570
            ],
571
        });
568
        });
572
        if (
569
        if (
573
            $("#mana_results_datatable").length &&
570
            $("#mana_results_datatable").length &&
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/clubs/clubs-tab.tt (-1 lines)
Lines 106-112 Link Here
106
                    details: { type: "column", target: -1 },
106
                    details: { type: "column", target: -1 },
107
                },
107
                },
108
                columnDefs: [
108
                columnDefs: [
109
                    { orderable: false, searchable: false, targets: ["NoSort"] },
110
                    { className: "dtr-control", orderable: false, targets: -1 },
109
                    { className: "dtr-control", orderable: false, targets: -1 },
111
                ],
110
                ],
112
            });
111
            });
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-topissues.tt (-2 lines)
Lines 150-156 Link Here
150
            $("#topissuest").kohaTable({
150
            $("#topissuest").kohaTable({
151
                sorting: [[3, "desc"]],
151
                sorting: [[3, "desc"]],
152
                columnDefs: [
152
                columnDefs: [
153
                    { orderable: false, searchable: false, targets: ["NoSort"] },
154
                    { type: "anti-the", targets: ["anti-the"] },
153
                    { type: "anti-the", targets: ["anti-the"] },
155
                    { className: "dtr-control", orderable: false, targets: -1 },
154
                    { className: "dtr-control", orderable: false, targets: -1 },
156
                ],
155
                ],
157
- 

Return to bug 38984