From: Philip Reetz Date: Thu, 8 Feb 2007 12:19:02 +0000 (+0000) Subject: Kundenbericht liess sich nicht nach Adresse sortieren X-Git-Tag: release-2.4.2~130 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=0eeecc3c6833a618a9f1b9c94e0331335f8a7987;p=kivitendo-erp.git Kundenbericht liess sich nicht nach Adresse sortieren --- diff --git a/SL/CT.pm b/SL/CT.pm index 4578224bf..8a3ff853c 100644 --- a/SL/CT.pm +++ b/SL/CT.pm @@ -695,6 +695,9 @@ sub search { my $where = "1 = 1"; $form->{sort} = "name" unless ($form->{sort}); + if ($form->{sort} eq "address") { + $form->{sort} = "country,city,street"; + } if ($form->{"$form->{db}number"}) { my $companynumber = $form->like(lc $form->{"$form->{db}number"});