From: ivan Date: Sat, 4 Dec 2010 03:29:06 +0000 (+0000) Subject: sort locations in dropdown, RT#10766 X-Git-Tag: TORRUS_1_0_9~46 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=d2521e0bbe5f2ed8f4b800da75967c98abc7b797;p=freeside.git sort locations in dropdown, RT#10766 --- diff --git a/httemplate/elements/tr-select-cust_location.html b/httemplate/elements/tr-select-cust_location.html index f06ea0ffe..d44b1c489 100644 --- a/httemplate/elements/tr-select-cust_location.html +++ b/httemplate/elements/tr-select-cust_location.html @@ -150,7 +150,7 @@ Example: % my @locations = $cust_main ? $cust_main->cust_location : (); % push @locations, $cust_location % if !$cust_main && $cust_location && $cust_location->locationnum>0; -% foreach my $loc ( @locations ) { +% foreach my $loc ( sort $location_sort @locations ) {