[freeside-commits] freeside/httemplate/elements tr-select-cust_location.html, 1.8.4.1, 1.8.4.2
Ivan,,,
ivan at wavetail.420.am
Fri Dec 3 19:52:34 PST 2010
Update of /home/cvs/cvsroot/freeside/httemplate/elements
In directory wavetail.420.am:/tmp/cvs-serv17645
Modified Files:
Tag: FREESIDE_2_1_BRANCH
tr-select-cust_location.html
Log Message:
sort locations in dropdown, RT#10766
Index: tr-select-cust_location.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/elements/tr-select-cust_location.html,v
retrieving revision 1.8.4.1
retrieving revision 1.8.4.2
diff -u -w -d -r1.8.4.1 -r1.8.4.2
--- tr-select-cust_location.html 4 Dec 2010 03:29:07 -0000 1.8.4.1
+++ tr-select-cust_location.html 4 Dec 2010 03:52:32 -0000 1.8.4.2
@@ -225,9 +225,9 @@
my $location_sort = sub {
$a->country cmp $b->country
- or $a->city cmp $b->city
- or $a->address1 cmp $b->address1
- or $a->address2 cmp $b->address2
+ or lc($a->city) cmp lc($b->city)
+ or lc($a->address1) cmp lc($b->address1)
+ or lc($a->address2) cmp lc($b->address2)
};
my $disabled = ( $locationnum == -1 || ($editable && $locationnum) )
More information about the freeside-commits
mailing list