From 699758d489a44bddc6ce92809fd6176e2548d45f Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Fri, 18 Mar 2016 18:40:24 -0700 Subject: sort customer locations in package list, RT#41119, RT#39822 --- httemplate/elements/tr-select-cust_location.html | 2 ++ 1 file changed, 2 insertions(+) (limited to 'httemplate/elements') diff --git a/httemplate/elements/tr-select-cust_location.html b/httemplate/elements/tr-select-cust_location.html index 3078f2cbe..47a917dbd 100644 --- a/httemplate/elements/tr-select-cust_location.html +++ b/httemplate/elements/tr-select-cust_location.html @@ -271,7 +271,9 @@ my $location_sort = sub { #enabled w/label_prefix _location # $a->locationname cmp $b->locationname # or $a->country cmp $b->country + or lc($a->state) cmp lc($b->state) or lc($a->city) cmp lc($b->city) + or lc($a->county) cmp lc($b->county) or lc($a->address1) cmp lc($b->address1) or lc($a->address2) cmp lc($b->address2) }; -- cgit v1.2.1