projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sort customer locations in package list, RT#41119, RT#39822
[freeside.git]
/
httemplate
/
elements
/
tr-select-cust_location.html
diff --git
a/httemplate/elements/tr-select-cust_location.html
b/httemplate/elements/tr-select-cust_location.html
index
3078f2c
..
47a917d
100644
(file)
--- 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
#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->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)
};
or lc($a->address1) cmp lc($b->address1)
or lc($a->address2) cmp lc($b->address2)
};