From 159b5368d8c1bb261cb36fc8643de5ca09a7f1d6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20B=C3=BCren?= Date: Wed, 25 May 2011 06:57:10 +0200 Subject: [PATCH] =?utf8?q?Analog=20zu=20=20=20=20=20CVar=20Filter=20wurden?= =?utf8?q?=20in=20Kundensuche=20nicht=20weitergereicht=20an=20den=20Export?= =?utf8?q?.=20den=20CVar=20Filter=20(benutzerdefinierte=20Variablen)=20f?= =?utf8?q?=C3=BCr=20Waren=20an=20den=20Export=20weitergegeben.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- bin/mozilla/ic.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/mozilla/ic.pl b/bin/mozilla/ic.pl index 13e0a5ac2..61f44ca1a 100644 --- a/bin/mozilla/ic.pl +++ b/bin/mozilla/ic.pl @@ -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); -- 2.20.1