From: Moritz Bunkus Date: Thu, 11 Oct 2007 11:37:16 +0000 (+0000) Subject: Kosmetik. X-Git-Tag: release-2.6.0beta1~474 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=d38dee8d88775c83f64cd3c60df37d44cf607cdd;p=kivitendo-erp.git Kosmetik. --- 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}}; }