diff options
author | ivan <ivan> | 2011-08-18 23:29:22 +0000 |
---|---|---|
committer | ivan <ivan> | 2011-08-18 23:29:22 +0000 |
commit | 485febda2dd7b70a7f5024b80918488376f8f6a3 (patch) | |
tree | 1d1f2a41f41ad2d19f16c91bda3ba13f346db7d7 /httemplate | |
parent | 88a31cf71eebe7517d1fb511e12331b700cfba6f (diff) |
fix 477 package links, RT#13922
Diffstat (limited to 'httemplate')
-rwxr-xr-x | httemplate/search/477partVI_census.html | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/httemplate/search/477partVI_census.html b/httemplate/search/477partVI_census.html index 9256b86b3..b6043539a 100755 --- a/httemplate/search/477partVI_census.html +++ b/httemplate/search/477partVI_census.html @@ -147,7 +147,7 @@ my $link_suffix = sub { my $row = shift; my @ro = grep $_, @row_option[$row->upload - 1], @column_option[$row->download - 2], - @technology_option[$row->technology_code], + @technology_option[$row->technology_code - 1], ; $result .= 'report_option='. join(',',@ro) if @ro; $result; @@ -155,6 +155,10 @@ my $link_suffix = sub { my $row = shift; my $html_foot = sub { if (scalar(keys %state_hash) > 1) { + + my $roa = join(',', grep $_, @technology_option); + $roa = ";report_option_any=$roa" if $roa; + '<BR><B>WARNING: multiple states found</B><BR>'. '<TABLE BORDER=0>'. #nicer formatting someday join('', map { '<TR>'. @@ -162,7 +166,7 @@ my $html_foot = sub { ( &FS::Report::FCC_477::statenum2state($_) || 'None' ). '</TD>'. '<TD>'. - qq(<A HREF="${link}censustract2=$_">). + qq(<A HREF="${link}censustract2=$_$roa">). $state_pkgcount{$_}. ' packages</A> in '. $state_hash{$_}. ' census tracts'. '</TD>'. |