X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fbrowse%2Fcust_main_county.cgi;h=522614886702e78a601b173ffc0b9f106f3b4856;hb=6f870771982425279dd9576b7e36710dc79911b2;hp=dfbe119171d9c0e78e78a89ded5d94b0962a6b97;hpb=5e76ae4e7a11bd28478ed68eef8124fb7ff0767c;p=freeside.git diff --git a/httemplate/browse/cust_main_county.cgi b/httemplate/browse/cust_main_county.cgi index dfbe11917..522614886 100755 --- a/httemplate/browse/cust_main_county.cgi +++ b/httemplate/browse/cust_main_county.cgi @@ -10,7 +10,9 @@ 'table' => 'cust_main_county', 'hashref' => $hashref, 'order_by' => - 'ORDER BY country, state, county, city, district, taxclass', + 'ORDER BY country, state, county, city, '. + 'district, taxclass, '. + "COALESCE(taxname, '')", }, 'count_query' => $count_query, 'header' => \@header, @@ -454,7 +456,7 @@ my %seen_county = (); my @fields = ( sub { my $country = shift->country; return '' if $seen_country{$country}++; - code2country($country). " ($country)"; + FS::geocode_Mixin->code2country($country). " ($country)"; }, #state