diff options
author | Ivan Kohler <ivan@freeside.biz> | 2016-03-18 18:40:22 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2016-03-18 18:40:22 -0700 |
commit | 229373d8ab3b19351e14f345eb42344b8ed72d35 (patch) | |
tree | 1d4812881c2e4d7bbaff58592743f0a2b89058fb /httemplate/elements | |
parent | 341adb07d0f22f7386b0d1055aa5d6d6120198ca (diff) |
sort customer locations in package list, RT#41119, RT#39822
Diffstat (limited to 'httemplate/elements')
-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) }; |