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 525-534 Link Here
525
                                                    [% END %]
525
                                                    [% END %]
526
                                                    <th class="NoSort">Place hold</th>
526
                                                    <th class="NoSort">Place hold</th>
527
                                                    [% IF ( active && !closedate ) %]
527
                                                    [% IF ( active && !closedate ) %]
528
                                                            <th class="NoSort">Modify</th>
528
                                                            <th class="NoSort noExport">Modify</th>
529
                                                    [% END %]
529
                                                    [% END %]
530
                                                    [% IF !closedate || Koha.Preference('CancelOrdersInClosedBaskets') %]
530
                                                    [% IF !closedate || Koha.Preference('CancelOrdersInClosedBaskets') %]
531
                                                        <th class="NoSort">Cancel order</th>
531
                                                        <th class="NoSort noExport">Cancel order</th>
532
                                                    [% END %]
532
                                                    [% END %]
533
                                                </tr>
533
                                                </tr>
534
                                            </thead>
534
                                            </thead>
Lines 1164-1170 Link Here
1164
            $("#orders").kohaTable({
1164
            $("#orders").kohaTable({
1165
                pagingType: "full",
1165
                pagingType: "full",
1166
                autoWidth: false,
1166
                autoWidth: false,
1167
                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 %]],
1168
            }, table_settings);
1167
            }, table_settings);
1169
1168
1170
            $("#cancelledorderst").kohaTable({
1169
            $("#cancelledorderst").kohaTable({
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categories.tt (-1 / +1 lines)
Lines 647-653 Link Here
647
                    <th scope="col" data-colname="checkout_charge_limit">Checkout charge limit</th>
647
                    <th scope="col" data-colname="checkout_charge_limit">Checkout charge limit</th>
648
                    <th scope="col" data-colname="guarantees_checkout_charge_limit">Guarantees checkout charge limit</th>
648
                    <th scope="col" data-colname="guarantees_checkout_charge_limit">Guarantees checkout charge limit</th>
649
                    <th scope="col" data-colname="guarantors_checkout_charge_limit">Guarantors with guarantees checkout charge limit</th>
649
                    <th scope="col" data-colname="guarantors_checkout_charge_limit">Guarantors with guarantees checkout charge limit</th>
650
                    <th scope="col" data-colname="actions">Actions</th>
650
                    <th scope="col" class="noExport" data-colname="actions">Actions</th>
651
                </tr>
651
                </tr>
652
            </thead>
652
            </thead>
653
            <tbody>
653
            <tbody>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/restrictions.tt (-4 / +4 lines)
Lines 195-204 Link Here
195
                    <tr>
195
                    <tr>
196
                        <th scope="col">Code</th>
196
                        <th scope="col">Code</th>
197
                        <th scope="col">Label</th>
197
                        <th scope="col">Label</th>
198
                        <th scope="col">Default</th>
198
                        <th class="noExport" scope="col">Default</th>
199
                        <th scope="col">Lift after payment?</th>
199
                        <th class="noExport" scope="col">Lift after payment?</th>
200
                        <th scope="col">Fee limit</th>
200
                        <th class="noExport" scope="col">Fee limit</th>
201
                        <th scope="col">Actions</th>
201
                        <th class="noExport" scope="col">Actions</th>
202
                    </tr>
202
                    </tr>
203
                </thead>
203
                </thead>
204
                <tbody>
204
                <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 603-612 function _dt_buttons(params){ Link Here
603
    let table_settings = params.table_settings;
603
    let table_settings = params.table_settings;
604
604
605
    var exportColumns = ":visible:not(.noExport)";
605
    var exportColumns = ":visible:not(.noExport)";
606
    if( settings.hasOwnProperty("exportColumns") ){
607
        // A custom buttons configuration has been passed from the page
608
        exportColumns = settings["exportColumns"];
609
    }
610
606
611
    const export_format_spreadsheet = {
607
    const export_format_spreadsheet = {
612
        body: function ( data, row, column, node ) {
608
        body: function ( data, row, column, node ) {
(-)a/koha-tmpl/intranet-tmpl/prog/js/restrictiontypes.js (-1 lines)
Lines 30-36 $(document).ready(function() { Link Here
30
        ],
30
        ],
31
        order: [[1, "asc"]],
31
        order: [[1, "asc"]],
32
        pagingType: "full",
32
        pagingType: "full",
33
        exportColumns: [0, 1],
34
    });
33
    });
35
34
36
    $("#restriction_form").validate({
35
    $("#restriction_form").validate({
(-)a/koha-tmpl/opac-tmpl/bootstrap/js/datatables.js (-5 lines)
Lines 124-133 function _dt_buttons(params){ Link Here
124
    let table_settings = params.table_settings;
124
    let table_settings = params.table_settings;
125
125
126
    var exportColumns = ":visible:not(.noExport)";
126
    var exportColumns = ":visible:not(.noExport)";
127
    if( settings.hasOwnProperty("exportColumns") ){
128
        // A custom buttons configuration has been passed from the page
129
        exportColumns = settings["exportColumns"];
130
    }
131
127
132
    var export_format = {
128
    var export_format = {
133
        body: function ( data, row, column, node ) {
129
        body: function ( data, row, column, node ) {
134
- 

Return to bug 38472