From 63e0f6066e8d2bf7bd07d540de9a68bc7eb386ab Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Tue, 25 May 2010 13:28:51 +0200 Subject: [PATCH] =?utf8?q?Lieferanten=20nach=20Stra=C3=9Fe=20sortieren=20e?= =?utf8?q?rlauben.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Fix zu Bug 1439. --- SL/CT.pm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/SL/CT.pm b/SL/CT.pm index 9089aabcc..81b93886c 100644 --- a/SL/CT.pm +++ b/SL/CT.pm @@ -696,8 +696,10 @@ sub search { my @values; my %allowed_sort_columns = - map({ $_, 1 } qw(id customernumber vendornumber name contact phone fax email - taxnumber business invnumber ordnumber quonumber)); + map { $_, 1 } qw( + id customernumber vendornumber name contact phone fax email street + taxnumber business invnumber ordnumber quonumber + ); my $sortorder = $form->{sort} && $allowed_sort_columns{$form->{sort}} ? $form->{sort} : "name"; $form->{sort} = $sortorder; my $sortdir = !defined $form->{sortdir} ? 'ASC' : $form->{sortdir} ? 'ASC' : 'DESC'; -- 2.20.1