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 722-735 function _dt_buttons(params){ Link Here
722
    }
722
    }
723
723
724
    if ( table_settings && CAN_user_parameters_manage_column_config ) {
724
    if ( table_settings && CAN_user_parameters_manage_column_config ) {
725
        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);
725
        buttons.push(
726
        buttons.push(
726
            {
727
            {
728
                tag: "a",
729
                attr: { href },
727
                className: "dt_button_configure_table",
730
                className: "dt_button_configure_table",
728
                fade: 100,
731
                fade: 100,
729
                titleAttr: __("Configure table"),
732
                titleAttr: __("Configure table"),
730
                text: '<i class="fa fa-lg fa-wrench"></i> <span class="dt-button-text">' + __("Configure") + '</span>',
733
                text: '<i class="fa fa-lg fa-wrench"></i> <span class="dt-button-text">' + __("Configure") + '</span>',
731
                action: function() {
734
                action: function() {
732
                    window.location = '/cgi-bin/koha/admin/columns_settings.pl?module=' + table_settings['module'] + '&page=' + table_settings['page'] + '&table=' + table_settings['table'];
735
                    window.location = href;
733
                },
736
                },
734
            }
737
            }
735
        );
738
        );
736
- 

Return to bug 38476