From ca5a413a55b44c8db7dd918ae59f5b4ee6464f19 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Wed, 22 Feb 2012 22:06:53 -0800 Subject: [PATCH] add rows #s to fcc 477 census report --- httemplate/search/477partVI_census.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/httemplate/search/477partVI_census.html b/httemplate/search/477partVI_census.html index be3a9c057..e283b1e3c 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; }; +push @links, ( [ $link, $link_suffix ] x 8 ); + + my $html_foot = sub { if (scalar(keys %state_hash) > 1) { -- 2.20.1