diff options
author | Ivan Kohler <ivan@freeside.biz> | 2016-03-18 18:40:24 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2016-03-18 18:40:24 -0700 |
commit | 699758d489a44bddc6ce92809fd6176e2548d45f (patch) | |
tree | 76e10a37b6ad0e858aa89e6c1fcfa162f23aa835 /httemplate | |
parent | 9dd24df729dd13819019b87d25c1669346c49dd4 (diff) |
sort customer locations in package list, RT#41119, RT#39822
Diffstat (limited to 'httemplate')
-rw-r--r-- | httemplate/elements/tr-select-cust_location.html | 2 |
1 files changed, 2 insertions, 0 deletions
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) }; |