From: ivan Date: Fri, 11 Jun 2004 14:25:05 +0000 (+0000) Subject: tax report fix sort X-Git-Tag: BEFORE_FINAL_MASONIZE~1038 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=1b0d5782e4cc1cfb6f3f75bb8d0a9b4c13749986 tax report fix sort --- diff --git a/httemplate/search/report_tax.cgi b/httemplate/search/report_tax.cgi index 08b6d0796..ed7f9ffb8 100755 --- a/httemplate/search/report_tax.cgi +++ b/httemplate/search/report_tax.cgi @@ -80,7 +80,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, {