Revision ea38a4b3
Von Moritz Bunkus vor etwa 16 Jahren hinzugefügt
bin/mozilla/ct.pl | ||
---|---|---|
133 | 133 |
); |
134 | 134 |
|
135 | 135 |
my @includeable_custom_variables = grep { $_->{includeable} } @{ $cvar_configs }; |
136 |
my @searchable_custom_variables = grep { $_->{searchable} } @{ $cvar_configs }; |
|
136 | 137 |
my %column_defs_cvars = map { +"cvar_$_->{name}" => { 'text' => $_->{description} } } @includeable_custom_variables; |
137 | 138 |
|
138 | 139 |
push @columns, map { "cvar_$_->{name}" } @includeable_custom_variables; |
... | ... | |
158 | 159 |
|
159 | 160 |
map { $column_defs{$_}->{visible} = $form->{"l_$_"} eq 'Y' } @columns; |
160 | 161 |
|
161 |
my @hidden_variables = (qw(db status obsolete), map { "l_$_" } @columns);
|
|
162 |
my @hidden_variables = (qw(db status obsolete name contact email cp_name addr_city), "$form->{db}number", @searchable_custom_variables, map { "l_$_" } @columns);
|
|
162 | 163 |
my @hidden_nondefault = grep({ $form->{$_} } @hidden_variables); |
163 |
my $callback = build_std_url('action=list_names', grep { $form->{$_} } @hidden_variables);
|
|
164 |
my $callback = build_std_url('action=list_names', grep { $form->{$_} } @hidden_nondefault);
|
|
164 | 165 |
$form->{callback} = "$callback&sort=" . E($form->{sort}) . "&sortdir=" . E($form->{sortdir}); |
165 | 166 |
|
166 | 167 |
foreach (@columns) { |
Auch abrufbar als: Unified diff
Beim Export der Kunden-/Lieferantenstammdatenberichte auch die Suchfelder mit übergeben, damit nicht die komplette Liste exportiert wird.