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

(-)a/C4/Utils/DataTables/TablesSettings.pm (-11 / +4 lines)
Lines 60-75 sub get_columns { Link Here
60
    $columns = [
60
    $columns = [
61
        map {
61
        map {
62
            {
62
            {
63
                cannot_be_toggled         => exists $_->{cannot_be_toggled}  ? $_->{cannot_be_toggled}  : 0,
63
                cannot_be_toggled  => exists $_->{cannot_be_toggled}  ? $_->{cannot_be_toggled}  : 0,
64
                cannot_be_modified        => exists $_->{cannot_be_modified} ? $_->{cannot_be_modified} : 0,
64
                cannot_be_modified => exists $_->{cannot_be_modified} ? $_->{cannot_be_modified} : 0,
65
                is_hidden                 => exists $_->{is_hidden}          ? $_->{is_hidden}          : 0,
65
                is_hidden          => exists $_->{is_hidden}          ? $_->{is_hidden}          : 0,
66
                default_save_state        => exists $_->{default_save_state} ? $_->{default_save_state} : 1,
66
                columnname         => $_->{columnname},
67
                default_save_state_search => exists $_->{default_save_state_search}
68
                    && exists $_->{default_save_state}
69
                    && $_->{default_save_state}    # We need default_save_state
70
                ? $_->{default_save_state_search}
71
                : 0,
72
                columnname => $_->{columnname},
73
            }
67
            }
74
        } @$columns
68
        } @$columns
75
    ];
69
    ];
76
- 

Return to bug 33484