X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2F477partVI_census.html;h=35de3491c08c57f2bd7228f46fc6a8e83291e596;hb=6f5b68a5dc6a6b145c88aa1b2bad3848cc6f8788;hp=9256b86b3f161466f1a06477470c5481edca0ffa;hpb=a9b978f216f2fc4845363f0b48891b53870adefb;p=freeside.git
diff --git a/httemplate/search/477partVI_census.html b/httemplate/search/477partVI_census.html
index 9256b86b3..35de3491c 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,16 @@ my $link_suffix = sub { my $row = shift;
my $html_foot = sub {
if (scalar(keys %state_hash) > 1) {
+
+ 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;
+
'
WARNING: multiple states found
'.
'
'. - qq(). + qq(). $state_pkgcount{$_}. ' packages in '. $state_hash{$_}. ' census tracts'. ' | '.