summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorivan <ivan>2011-08-18 23:39:10 +0000
committerivan <ivan>2011-08-18 23:39:10 +0000
commit15b6f65fcea9f284caab5e0ebc8aa16933f4b394 (patch)
treeb1039964ed77387c7fee61b8722288bb26604d09 /httemplate
parent485febda2dd7b70a7f5024b80918488376f8f6a3 (diff)
attempt fixing "multiple states" links, RT#13922
Diffstat (limited to 'httemplate')
-rwxr-xr-xhttemplate/search/477partVI_census.html12
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>'.