X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2F477partVI_census.html;h=b6043539a1e7c746643c10f976576bcb6f844a6d;hb=5a492bf6c76aebbbee96544e2a1ed5929b505da5;hp=9256b86b3f161466f1a06477470c5481edca0ffa;hpb=3a06336aa85ae084d87ef8b9652e59db7d9574dd;p=freeside.git 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; + '
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'. '