summaryrefslogtreecommitdiff
path: root/httemplate/search/477partVI_census.html
diff options
context:
space:
mode:
authorivan <ivan>2011-08-18 22:33:28 +0000
committerivan <ivan>2011-08-18 22:33:28 +0000
commitfbde05dc9734570ec05f13129eaca00ffbaae0de (patch)
tree9b189b2eab88aa3c9dc449d1dc7f74303493a436 /httemplate/search/477partVI_census.html
parentdcf445d1195eebf098894021e1e45d1ec7b49e8f (diff)
fix 477 package links report_option arg, RT#13922
Diffstat (limited to 'httemplate/search/477partVI_census.html')
-rwxr-xr-xhttemplate/search/477partVI_census.html9
1 files changed, 5 insertions, 4 deletions
diff --git a/httemplate/search/477partVI_census.html b/httemplate/search/477partVI_census.html
index 15d2b814b..fe224edba 100755
--- a/httemplate/search/477partVI_census.html
+++ b/httemplate/search/477partVI_census.html
@@ -144,10 +144,11 @@ my $link = 'cust_pkg.cgi?'. join(';',
my $link_suffix = sub { my $row = shift;
my $result = 'censustract='. $row->censustract. ';';
- $result .= 'report_option='. @row_option[$row->upload - 1]
- if @row_option[$row->upload - 1];
- $result .= 'report_option='. @column_option[$row->download - 1]
- if @column_option[$row->download - 1];
+ my @ro = grep $_,
+ @row_option[$row->upload - 1],
+ @column_option[$row->download - 1],
+ ;
+ $result .= 'report_option='. join(',',@ro) if @ro;
$result;
};