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

(-)a/koha-tmpl/intranet-tmpl/prog/js/datatables.js (-2 / +4 lines)
Lines 739-752 function _dt_buttons(params){ Link Here
739
    }
739
    }
740
740
741
    if ( table_settings && CAN_user_parameters_manage_column_config ) {
741
    if ( table_settings && CAN_user_parameters_manage_column_config ) {
742
        let href = '/cgi-bin/koha/admin/columns_settings.pl?module=%s&page=%s&table=%s'.format(table_settings.module, table_settings.page, table_settings.table);
742
        buttons.push(
743
        buttons.push(
743
            {
744
            {
745
                tag: "a",
746
                attr: { href },
744
                className: "dt_button_configure_table",
747
                className: "dt_button_configure_table",
745
                fade: 100,
748
                fade: 100,
746
                titleAttr: __("Configure table"),
749
                titleAttr: __("Configure table"),
747
                text: '<i class="fa fa-lg fa-wrench"></i> <span class="dt-button-text">' + __("Configure") + '</span>',
750
                text: '<i class="fa fa-lg fa-wrench"></i> <span class="dt-button-text">' + __("Configure") + '</span>',
748
                action: function() {
751
                action: function() {
749
                    window.location = '/cgi-bin/koha/admin/columns_settings.pl?module=' + table_settings['module'] + '&page=' + table_settings['page'] + '&table=' + table_settings['table'];
752
                    window.location = href;
750
                },
753
                },
751
            }
754
            }
752
        );
755
        );
753
- 

Return to bug 38476