diff options
| author | ivan <ivan> | 2011-08-18 23:39:43 +0000 |
|---|---|---|
| committer | ivan <ivan> | 2011-08-18 23:39:43 +0000 |
| commit | 6aa5ef852018ddd7136beb8c750d4d895b1f7584 (patch) | |
| tree | c842a9ed5fadc9b0247e04d228f54c35d4db06e5 /httemplate | |
| parent | 5a492bf6c76aebbbee96544e2a1ed5929b505da5 (diff) | |
attempt fixing "multiple states" links, RT#13922
Diffstat (limited to 'httemplate')
| -rwxr-xr-x | httemplate/search/477partVI_census.html | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/httemplate/search/477partVI_census.html b/httemplate/search/477partVI_census.html index b6043539a..35de3491c 100755 --- a/httemplate/search/477partVI_census.html +++ b/httemplate/search/477partVI_census.html @@ -156,8 +156,14 @@ 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; + my $roa_r = join(',', grep $_, @row_option); + $roa_r = ";report_option_any_r=$roa_r" if $roa_r; + + my $roa_c = join(',', grep $_, @column_option); + $roa_c = ";report_option_any_c=$roa_c" if $roa_c; + + my $roa_t = join(',', grep $_, @technology_option); + $roa_t = ";report_option_any_t=$roa_t" if $roa_t; '<BR><B>WARNING: multiple states found</B><BR>'. '<TABLE BORDER=0>'. #nicer formatting someday @@ -166,7 +172,7 @@ my $html_foot = sub { ( &FS::Report::FCC_477::statenum2state($_) || 'None' ). '</TD>'. '<TD>'. - qq(<A HREF="${link}censustract2=$_$roa">). + qq(<A HREF="${link}censustract2=$_$roa_r$row_c$row_t">). $state_pkgcount{$_}. ' packages</A> in '. $state_hash{$_}. ' census tracts'. '</TD>'. |
