]> wagnertech.de Git - mfinanz.git/blobdiff - bin/mozilla/ic.pl
Analog zu CVar Filter wurden in Kundensuche nicht weitergereicht an den Export.
[mfinanz.git] / bin / mozilla / ic.pl
index 13e0a5ac285166c11f2eb3805b6023f7f8a45537..61f44ca1a7bbcc78581811b77c3aeabfea196d29 100644 (file)
@@ -1207,7 +1207,8 @@ sub generate_report {
     map { $column_defs{$_}->{visible} = $form->{"l_$_"} ? 1 : 0 } @columns;
   map { $column_defs{$_}->{align}   = 'right' } qw(onhand sellprice listprice lastcost linetotalsellprice linetotallastcost linetotallistprice rop weight soldtotal);
 
-  my @hidden_variables = (qw(l_subtotal l_linetotal searchitems itemstatus bom), @itemstatus_keys, @callback_keys, @searchable_custom_variables, map { "l_$_" } @columns);
+  my @hidden_variables = (qw(l_subtotal l_linetotal searchitems itemstatus bom), @itemstatus_keys, @callback_keys,
+                              map({ "cvar_$_->{name}" } @searchable_custom_variables), map { "l_$_" } @columns);
   my $callback         = build_std_url('action=generate_report', grep { $form->{$_} } @hidden_variables);
 
   my @sort_full        = qw(partnumber description onhand soldtotal deliverydate);