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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/columns_settings.inc (-5 / +8 lines)
Lines 14-23 function KohaTable(id_selector, dt_parameters, table_settings, add_filters) { Link Here
14
14
15
        let columns_settings = table_settings["columns"];
15
        let columns_settings = table_settings["columns"];
16
16
17
        let table_key = 'DataTables_%s_%s_%s'.format(
17
        let table_key = 'DataTables_%s_%s_%s_%s'.format(
18
            table_settings.module,
18
            table_settings.module,
19
            table_settings.page,
19
            table_settings.page,
20
            table_settings.table);
20
            table_settings.table,
21
            id_selector,
22
        );
21
23
22
        let default_save_state        = table_settings.default_save_state;
24
        let default_save_state        = table_settings.default_save_state;
23
        let default_save_state_search = table_settings.default_save_state_search;
25
        let default_save_state_search = table_settings.default_save_state_search;
Lines 221-230 function KohaTable(id_selector, dt_parameters, table_settings, add_filters) { Link Here
221
                titleAttr: __("Copy shareable link"),
223
                titleAttr: __("Copy shareable link"),
222
                text: '<i class="fa fa-lg fa-copy"></i> <span class="dt-button-text">' + __("Copy shareable link") + '</span>',
224
                text: '<i class="fa fa-lg fa-copy"></i> <span class="dt-button-text">' + __("Copy shareable link") + '</span>',
223
                action: function (e, dt, node, config) {
225
                action: function (e, dt, node, config) {
224
                    let table_key = 'DataTables_%s_%s_%s'.format(
226
                    let table_key = 'DataTables_%s_%s_%s_%s'.format(
225
                        table_settings.module,
227
                        table_settings.module,
226
                        table_settings.page,
228
                        table_settings.page,
227
                        table_settings.table);
229
                        table_settings.table,
230
                        dt.settings()[0].nTable.id,
231
                    );
228
232
229
                    let state = JSON.stringify(dt.state());
233
                    let state = JSON.stringify(dt.state());
230
                    delete state.time;
234
                    delete state.time;
231
- 

Return to bug 33484