projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
ad927cf
)
fix 477 package links report_option arg, RT#13922
author
ivan
<ivan>
Thu, 18 Aug 2011 22:33:29 +0000
(22:33 +0000)
committer
ivan
<ivan>
Thu, 18 Aug 2011 22:33:29 +0000
(22:33 +0000)
httemplate/search/477partVI_census.html
patch
|
blob
|
history
diff --git
a/httemplate/search/477partVI_census.html
b/httemplate/search/477partVI_census.html
index
15d2b81
..
fe224ed
100755
(executable)
--- 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. ';';
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;
};
$result;
};