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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt (-3 / +2 lines)
Lines 579-588 Link Here
579
                                        [% END %]
579
                                        [% END %]
580
                                        <th class="NoSort">Place hold</th>
580
                                        <th class="NoSort">Place hold</th>
581
                                        [% IF ( active && !closedate ) %]
581
                                        [% IF ( active && !closedate ) %]
582
                                            <th class="NoSort">Modify</th>
582
                                            <th class="NoSort noExport">Modify</th>
583
                                        [% END %]
583
                                        [% END %]
584
                                        [% IF !closedate || Koha.Preference('CancelOrdersInClosedBaskets') %]
584
                                        [% IF !closedate || Koha.Preference('CancelOrdersInClosedBaskets') %]
585
                                            <th class="NoSort">Cancel order</th>
585
                                            <th class="NoSort noExport">Cancel order</th>
586
                                        [% END %]
586
                                        [% END %]
587
                                    </tr>
587
                                    </tr>
588
                                </thead>
588
                                </thead>
Lines 1236-1242 Link Here
1236
            $("#orders").kohaTable({
1236
            $("#orders").kohaTable({
1237
                pagingType: "full",
1237
                pagingType: "full",
1238
                autoWidth: false,
1238
                autoWidth: false,
1239
                exportColumns: [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18[% IF (Koha.Preference('EDIFACT') && ediaccount) %],19[% END %]],
1240
            }, table_settings);
1239
            }, table_settings);
1241
1240
1242
            $("#cancelledorderst").kohaTable({
1241
            $("#cancelledorderst").kohaTable({
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categories.tt (-1 / +1 lines)
Lines 667-673 Link Here
667
                            <th scope="col" data-colname="checkout_charge_limit">Checkout charge limit</th>
667
                            <th scope="col" data-colname="checkout_charge_limit">Checkout charge limit</th>
668
                            <th scope="col" data-colname="guarantees_checkout_charge_limit">Guarantees checkout charge limit</th>
668
                            <th scope="col" data-colname="guarantees_checkout_charge_limit">Guarantees checkout charge limit</th>
669
                            <th scope="col" data-colname="guarantors_checkout_charge_limit">Guarantors with guarantees checkout charge limit</th>
669
                            <th scope="col" data-colname="guarantors_checkout_charge_limit">Guarantors with guarantees checkout charge limit</th>
670
                            <th scope="col" data-colname="actions">Actions</th>
670
                            <th scope="col" class="noExport" data-colname="actions">Actions</th>
671
                        </tr>
671
                        </tr>
672
                    </thead>
672
                    </thead>
673
                    <tbody>
673
                    <tbody>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/restrictions.tt (-4 / +4 lines)
Lines 194-203 Link Here
194
                        <tr>
194
                        <tr>
195
                            <th scope="col">Code</th>
195
                            <th scope="col">Code</th>
196
                            <th scope="col">Label</th>
196
                            <th scope="col">Label</th>
197
                            <th scope="col">Default</th>
197
                            <th class="noExport" scope="col">Default</th>
198
                            <th scope="col">Lift after payment?</th>
198
                            <th class="noExport" scope="col">Lift after payment?</th>
199
                            <th scope="col">Fee limit</th>
199
                            <th class="noExport" scope="col">Fee limit</th>
200
                            <th scope="col">Actions</th>
200
                            <th class="noExport" scope="col">Actions</th>
201
                        </tr>
201
                        </tr>
202
                    </thead>
202
                    </thead>
203
                    <tbody>
203
                    <tbody>
(-)a/koha-tmpl/intranet-tmpl/prog/js/categories.js (-1 lines)
Lines 47-53 $(document).ready(function () { Link Here
47
                },
47
                },
48
            ],
48
            ],
49
            pagingType: "full",
49
            pagingType: "full",
50
            exportColumns: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12],
51
            bKohaColumnsUseNames: true,
50
            bKohaColumnsUseNames: true,
52
        },
51
        },
53
        table_settings
52
        table_settings
(-)a/koha-tmpl/intranet-tmpl/prog/js/datatables.js (-4 lines)
Lines 741-750 function _dt_buttons(params) { Link Here
741
    let table_settings = params.table_settings;
741
    let table_settings = params.table_settings;
742
742
743
    var exportColumns = ":visible:not(.noExport)";
743
    var exportColumns = ":visible:not(.noExport)";
744
    if (settings.hasOwnProperty("exportColumns")) {
745
        // A custom buttons configuration has been passed from the page
746
        exportColumns = settings["exportColumns"];
747
    }
748
744
749
    const export_format_spreadsheet = {
745
    const export_format_spreadsheet = {
750
        body: function (data, row, column, node) {
746
        body: function (data, row, column, node) {
(-)a/koha-tmpl/intranet-tmpl/prog/js/restrictiontypes.js (-1 lines)
Lines 40-46 $(document).ready(function () { Link Here
40
        ],
40
        ],
41
        order: [[1, "asc"]],
41
        order: [[1, "asc"]],
42
        pagingType: "full",
42
        pagingType: "full",
43
        exportColumns: [0, 1],
44
    });
43
    });
45
44
46
    $("#restriction_form").validate({
45
    $("#restriction_form").validate({
(-)a/koha-tmpl/opac-tmpl/bootstrap/js/datatables.js (-5 lines)
Lines 111-120 function _dt_buttons(params) { Link Here
111
    let table_settings = params.table_settings;
111
    let table_settings = params.table_settings;
112
112
113
    var exportColumns = ":visible:not(.noExport)";
113
    var exportColumns = ":visible:not(.noExport)";
114
    if (settings.hasOwnProperty("exportColumns")) {
115
        // A custom buttons configuration has been passed from the page
116
        exportColumns = settings["exportColumns"];
117
    }
118
114
119
    var export_format = {
115
    var export_format = {
120
        body: function (data, row, column, node) {
116
        body: function (data, row, column, node) {
121
- 

Return to bug 38472