tax report fix sort
authorivan <ivan>
Fri, 11 Jun 2004 14:25:05 +0000 (14:25 +0000)
committerivan <ivan>
Fri, 11 Jun 2004 14:25:05 +0000 (14:25 +0000)
httemplate/search/report_tax.cgi

index 08b6d07..ed7f9ff 100755 (executable)
@@ -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, {