From 12c4c658bc579890462f96832d918337c2b2d484 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Tue, 8 May 2007 12:30:19 +0000 Subject: [PATCH] =?utf8?q?Filterkriterium=20"Kunden-/Lieferantenname"=20in?= =?utf8?q?=20Berichten=20auch=20beim=20Umsortieren=20beibehalten.=20Fix=20?= =?utf8?q?f=C3=BCr=20Bug=20638.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- bin/mozilla/oe.pl | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/bin/mozilla/oe.pl b/bin/mozilla/oe.pl index 6fd5edd70..4678c2bb5 100644 --- a/bin/mozilla/oe.pl +++ b/bin/mozilla/oe.pl @@ -1578,12 +1578,6 @@ $jsscript sub orders { $lxdebug->enter_sub(); - # split vendor / customer - ($form->{ $form->{vc} }, $form->{"$form->{vc}_id"}) = - split(/--/, $form->{ $form->{vc} }); - - OE->transactions(\%myconfig, \%$form); - $ordnumber = ($form->{type} =~ /_order$/) ? "ordnumber" : "quonumber"; # construct href @@ -1591,11 +1585,18 @@ sub orders { qw(type vc login password transdatefrom transdateto open closed notdelivered delivered department transaction_description); + push @fields, $form->{vc}; $href = "$form->{script}?action=orders&" . join("&", map { "${_}=" . E($form->{$_}) } @fields) . "&${ordnumber}=" . E($form->{$ordnumber}); $callback = $href; + # split vendor / customer + ($form->{ $form->{vc} }, $form->{"$form->{vc}_id"}) = + split(/--/, $form->{ $form->{vc} }); + + OE->transactions(\%myconfig, \%$form); + @columns = ( "transdate", "reqdate", "id", "$ordnumber", -- 2.20.1