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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/columns_settings.inc (-1 / +1 lines)
Lines 21-27 function KohaTable(id_selector, dt_parameters, columns_settings, add_filters) { Link Here
21
        counter++;
21
        counter++;
22
    });
22
    });
23
23
24
    var exportColumns = ":visible";
24
    var exportColumns = ":visible:not(.noExport)";
25
    if( dt_parameters.hasOwnProperty("exportColumns") ){
25
    if( dt_parameters.hasOwnProperty("exportColumns") ){
26
        // A custom buttons configuration has been passed from the page
26
        // A custom buttons configuration has been passed from the page
27
        exportColumns = dt_parameters["exportColumns"];
27
        exportColumns = dt_parameters["exportColumns"];
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/stockrotation.tt (-3 / +3 lines)
Lines 64-70 Link Here
64
                                <th>Active</th>
64
                                <th>Active</th>
65
                                <th>Description</th>
65
                                <th>Description</th>
66
                                <th>Number of items</th>
66
                                <th>Number of items</th>
67
                                <th class="NoSort">&nbsp;</th>
67
                                <th class="NoSort noExport">&nbsp;</th>
68
                                </tr>
68
                                </tr>
69
                            </thead>
69
                            </thead>
70
                            <tbody>
70
                            <tbody>
Lines 372-379 Link Here
372
                                    <th>Author</th>
372
                                    <th>Author</th>
373
                                    <th>Call number</th>
373
                                    <th>Call number</th>
374
                                    <th class="NoSearch">In transit</th>
374
                                    <th class="NoSearch">In transit</th>
375
                                    <th class="NoSort">Stages &amp; duration in days<br>(current stage highlighted)</th>
375
                                    <th class="NoSort noExport">Stages &amp; duration in days<br>(current stage highlighted)</th>
376
                                    <th class="NoSort">&nbsp;</th>
376
                                    <th class="NoSort noExport">&nbsp;</th>
377
                                </tr>
377
                                </tr>
378
                            </thead>
378
                            </thead>
379
                            <tbody>
379
                            <tbody>
(-)a/koha-tmpl/intranet-tmpl/prog/js/pages/stockrotation.js (-3 lines)
Lines 72-78 $(document).ready(function() { Link Here
72
        ],
72
        ],
73
        "sPaginationType": "four_button",
73
        "sPaginationType": "four_button",
74
        "autoWidth": false,
74
        "autoWidth": false,
75
        "exportColumns": [0,1,2,3,4,5]
76
    }, stock_rotation_items_columns_settings);
75
    }, stock_rotation_items_columns_settings);
77
76
78
    KohaTable("stock_rotation", {
77
    KohaTable("stock_rotation", {
Lines 82-88 $(document).ready(function() { Link Here
82
        ],
81
        ],
83
        "sPaginationType": "four_button",
82
        "sPaginationType": "four_button",
84
        "autoWidth": false,
83
        "autoWidth": false,
85
        "exportColumns": [0,1,2,3,4]
86
    }, stock_rotation_columns_settings);
84
    }, stock_rotation_columns_settings);
87
85
88
});
86
});
89
- 

Return to bug 22175