From 1b0d5782e4cc1cfb6f3f75bb8d0a9b4c13749986 Mon Sep 17 00:00:00 2001 From: ivan Date: Fri, 11 Jun 2004 14:25:05 +0000 Subject: [PATCH] tax report fix sort --- httemplate/search/report_tax.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, { -- 2.11.0