X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2F477partVI_census.html;h=4d1fb2136a165a56bfeaec3d5f7a32bc06e43500;hb=62939905ff73736ea366791726e3372f59f274a9;hp=be3a9c057592b809bd0842fd9b3066383cd1ab92;hpb=c96f38c9a16df1fe84172e53cf58acd551b1937d;p=freeside.git diff --git a/httemplate/search/477partVI_census.html b/httemplate/search/477partVI_census.html index be3a9c057..4d1fb2136 100755 --- a/httemplate/search/477partVI_census.html +++ b/httemplate/search/477partVI_census.html @@ -76,7 +76,6 @@ push @fields, }, sub { my $row = shift; sprintf "%.2f", $row->residential }, ; -push @links, ( [ $link, $link_suffix ] x 8 ); my %search_hash = (); my @sql_query = (); @@ -137,6 +136,7 @@ my $count_query = 'SELECT count(*) FROM ( ('. @sql_query ). ') ) AS foo'; + my $link = 'cust_pkg.cgi?'. join(';', map { my $key = $_; my @values = ref($search_hash{$_}) @@ -158,6 +158,9 @@ my $link_suffix = sub { my $row = shift; $result; }; +for (1..8) { push @links, [ $link, $link_suffix ]; } + + my $html_foot = sub { if (scalar(keys %state_hash) > 1) {