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

(-)a/admin/columns_settings.pl (-2 / +2 lines)
Lines 53-59 if ( $action eq 'save' ) { Link Here
53
        next unless $table_id =~ m|^([^#]*)#(.*)$|;
53
        next unless $table_id =~ m|^([^#]*)#(.*)$|;
54
        my $default_display_length = $input->param( $table_id . '_default_display_length' );
54
        my $default_display_length = $input->param( $table_id . '_default_display_length' );
55
        my $default_sort_order     = $input->param( $table_id . '_default_sort_order' );
55
        my $default_sort_order     = $input->param( $table_id . '_default_sort_order' );
56
        if ( $default_display_length && $default_sort_order ) {
56
        if (   defined $default_display_length && $default_display_length ne ""
57
            && defined $default_sort_order     && $default_sort_order     ne "" ) {
57
            C4::Utils::DataTables::TablesSettings::update_table_settings(
58
            C4::Utils::DataTables::TablesSettings::update_table_settings(
58
                {
59
                {
59
                    module                 => $module,
60
                    module                 => $module,
60
- 

Return to bug 24156