From d38dee8d88775c83f64cd3c60df37d44cf607cdd Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Thu, 11 Oct 2007 11:37:16 +0000 Subject: [PATCH] Kosmetik. --- SL/OE.pm | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/SL/OE.pm b/SL/OE.pm index f66261550..7bea468e7 100644 --- a/SL/OE.pm +++ b/SL/OE.pm @@ -149,17 +149,18 @@ sub transactions { } my $sortorder = join(', ', ("o.id", $form->sort_columns("transdate", $ordnumber, "name"))); - my %allowed_sort_columns = - ("transdate" => "o.transdate", - "reqdate" => "o.reqdate", - "id" => "o.id", - "ordnumber" => "o.ordnumber", - "quonumber" => "o.quonumber", - "name" => "ct.name", - "employee" => "e.name", - "salesman" => "e.name", - "shipvia" => "o.shipvia", - "transaction_description" => "o.transaction_description"); + my %allowed_sort_columns = ( + "transdate" => "o.transdate", + "reqdate" => "o.reqdate", + "id" => "o.id", + "ordnumber" => "o.ordnumber", + "quonumber" => "o.quonumber", + "name" => "ct.name", + "employee" => "e.name", + "salesman" => "e.name", + "shipvia" => "o.shipvia", + "transaction_description" => "o.transaction_description" + ); if ($form->{sort} && grep($form->{sort}, keys(%allowed_sort_columns))) { $sortorder = $allowed_sort_columns{$form->{sort}}; } -- 2.20.1