From: ivan Date: Fri, 11 Jun 2004 14:25:36 +0000 (+0000) Subject: tax report fix sort X-Git-Tag: freeside_1_4_2beta1~65 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=1fe8df8a5f82fd8d9ec016c9ade222a8eb632ce2 tax report fix sort --- diff --git a/httemplate/search/report_tax.cgi b/httemplate/search/report_tax.cgi index 4f3ba1a17..2e7bbcf9a 100755 --- a/httemplate/search/report_tax.cgi +++ b/httemplate/search/report_tax.cgi @@ -81,7 +81,7 @@ foreach my $r ( qsearch('cust_main_county', {}) ) { #ordering my @regions = map $regions{$_}, - sort { ( $b eq $out cmp $a eq $out ) || ( $a cmp $b ) } + sort { ( ($b eq $out) cmp ($a eq $out) ) || ($a cmp $b) } keys %regions; push @regions, {