X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2F477partVI_census.html;h=b6043539a1e7c746643c10f976576bcb6f844a6d;hb=5a492bf6c76aebbbee96544e2a1ed5929b505da5;hp=40479011228f8912c71645bc7ec7fe958bdb121a;hpb=6a4c1c940598c493847c2108eba6f9fbf3b6c5e5;p=freeside.git diff --git a/httemplate/search/477partVI_census.html b/httemplate/search/477partVI_census.html index 404790112..b6043539a 100755 --- a/httemplate/search/477partVI_census.html +++ b/httemplate/search/477partVI_census.html @@ -146,7 +146,7 @@ my $link_suffix = sub { my $row = shift; my $result = 'censustract='. $row->censustract. ';'; my @ro = grep $_, @row_option[$row->upload - 1], - @column_option[$row->download - 1], + @column_option[$row->download - 2], @technology_option[$row->technology_code - 1], ; $result .= 'report_option='. join(',',@ro) if @ro; @@ -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; + '
WARNING: multiple states found
'. ''. #nicer formatting someday join('', map { ''. @@ -162,7 +166,7 @@ my $html_foot = sub { ( &FS::Report::FCC_477::statenum2state($_) || 'None' ). ''. ''.
'. - qq(). + qq(). $state_pkgcount{$_}. ' packages in '. $state_hash{$_}. ' census tracts'. '