From f50a8a82de85725081d35e670c5478abf44d7e66 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Mon, 4 Feb 2008 17:14:39 +0000 Subject: [PATCH] Kontakte nach Nachnamen sortieren. --- SL/CT.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.20.1