X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fprojects.pl;h=bda1c6d962adc25be72181638677109026362ea7;hb=978c6f75abc1bbfded560f856b000e87cbe106bd;hp=b7614ffc62c6a6ae9b698f7e602f312ab60d6427;hpb=781c16772f3c80cc827f11815bfb07b8318621f0;p=kivitendo-erp.git diff --git a/bin/mozilla/projects.pl b/bin/mozilla/projects.pl index b7614ffc6..bda1c6d96 100644 --- a/bin/mozilla/projects.pl +++ b/bin/mozilla/projects.pl @@ -121,6 +121,7 @@ sub project_report { my @columns = qw(projectnumber description active); my @includeable_custom_variables = grep { $_->{includeable} } @{ $cvar_configs }; + my @searchable_custom_variables = grep { $_->{searchable} } @{ $cvar_configs }; my %column_defs_cvars = (); foreach (@includeable_custom_variables) { $column_defs_cvars{"cvar_$_->{name}"} = { @@ -132,7 +133,11 @@ sub project_report { push @columns, map { "cvar_$_->{name}" } @includeable_custom_variables; - my @hidden_vars = ('filter', map { ('cvar_'. $_->{name} , 'l_cvar_'. $_->{name}) } @includeable_custom_variables); + my @hidden_vars = ( + 'filter', + map({ ('cvar_'. $_->{name} , 'l_cvar_'. $_->{name}) } @includeable_custom_variables), + map({'cvar_'. $_->{name} .'_qtyop'} grep({$_->{type} eq 'number'} @searchable_custom_variables)), + ); my $href = build_std_url('action=project_report', @hidden_vars);