From 0eeecc3c6833a618a9f1b9c94e0331335f8a7987 Mon Sep 17 00:00:00 2001 From: Philip Reetz Date: Thu, 8 Feb 2007 12:19:02 +0000 Subject: [PATCH] Kundenbericht liess sich nicht nach Adresse sortieren --- SL/CT.pm | 3 +++ 1 file changed, 3 insertions(+) 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"}); -- 2.20.1