From: Moritz Bunkus Date: Mon, 4 Feb 2008 17:14:39 +0000 (+0000) Subject: Kontakte nach Nachnamen sortieren. X-Git-Tag: release-2.6.0beta1~249 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=f50a8a82de85725081d35e670c5478abf44d7e66;p=kivitendo-erp.git Kontakte nach Nachnamen sortieren. --- diff --git a/SL/CT.pm b/SL/CT.pm index e25e41cd9..f386f6fe5 100644 --- a/SL/CT.pm +++ b/SL/CT.pm @@ -160,7 +160,7 @@ sub populate_drop_down_boxes { $form->{SHIPTO} = selectall_hashref_query($form, $dbh, $query, $form->{id}); # get contacts - $query = qq|SELECT cp_id, cp_name, cp_givenname FROM contacts WHERE cp_cv_id = ?|; + $query = qq|SELECT cp_id, cp_name, cp_givenname FROM contacts WHERE cp_cv_id = ? ORDER BY cp_name|; $form->{CONTACTS} = selectall_hashref_query($form, $dbh, $query, $form->{id}); # get languages