Revision b184cc2b
Von Thomas Heck vor fast 12 Jahren hinzugefügt
bin/mozilla/projects.pl | ||
---|---|---|
121 | 121 |
my @columns = qw(projectnumber description active); |
122 | 122 |
|
123 | 123 |
my @includeable_custom_variables = grep { $_->{includeable} } @{ $cvar_configs }; |
124 |
my @searchable_custom_variables = grep { $_->{searchable} } @{ $cvar_configs }; |
|
124 | 125 |
my %column_defs_cvars = (); |
125 | 126 |
foreach (@includeable_custom_variables) { |
126 | 127 |
$column_defs_cvars{"cvar_$_->{name}"} = { |
... | ... | |
132 | 133 |
push @columns, map { "cvar_$_->{name}" } @includeable_custom_variables; |
133 | 134 |
|
134 | 135 |
|
135 |
my @hidden_vars = ('filter', map { ('cvar_'. $_->{name} , 'l_cvar_'. $_->{name}) } @includeable_custom_variables); |
|
136 |
my @hidden_vars = ( |
|
137 |
'filter', |
|
138 |
map({ ('cvar_'. $_->{name} , 'l_cvar_'. $_->{name}) } @includeable_custom_variables), |
|
139 |
map({'cvar_'. $_->{name} .'_qtyop'} grep({$_->{type} eq 'number'} @searchable_custom_variables)), |
|
140 |
); |
|
136 | 141 |
my $href = build_std_url('action=project_report', @hidden_vars); |
137 | 142 |
|
138 | 143 |
|
Auch abrufbar als: Unified diff
Bei numerischen CVars die Filteroptionen mit übergeben.
fixt #1864