Lines 101-119
sub get_table_settings {
Link Here
|
101 |
} |
101 |
} |
102 |
)->next; |
102 |
)->next; |
103 |
|
103 |
|
|
|
104 |
my $table_settings = $list->{modules}->{$module}->{$page}->{$tablename}; |
104 |
return { |
105 |
return { |
105 |
default_display_length => $rs |
106 |
default_display_length => $rs |
106 |
? $rs->default_display_length |
107 |
? $rs->default_display_length |
107 |
: $list->{modules}{$module}{$page}{$tablename}{default_display_length}, |
108 |
: $table_settings->{default_display_length}, |
108 |
default_sort_order => $rs |
109 |
default_sort_order => $rs |
109 |
? $rs->default_sort_order |
110 |
? $rs->default_sort_order |
110 |
: $list->{modules}{$module}{$page}{$tablename}{default_sort_order}, |
111 |
: $table_settings->{default_sort_order}, |
111 |
default_save_state => $rs |
112 |
default_save_state => $rs |
112 |
? $rs->default_save_state |
113 |
? $rs->default_save_state |
113 |
: 1, |
114 |
: exists $table_settings->{default_save_state} |
|
|
115 |
? $table_settings->{default_save_state} |
116 |
: 1, |
114 |
default_save_state_search => $rs |
117 |
default_save_state_search => $rs |
115 |
? $rs->default_save_state_search |
118 |
? $rs->default_save_state_search |
116 |
: $list->{modules}{$module}{$page}{$tablename}{default_save_state_search}, |
119 |
: exists $table_settings->{default_save_state_search} |
|
|
120 |
? $table_settings->{default_save_state_search} |
121 |
: 0, |
117 |
}; |
122 |
}; |
118 |
} |
123 |
} |
119 |
|
124 |
|