[freeside-commits] freeside/httemplate/search 477partVI_census.html, 1.2.2.6, 1.2.2.7
Ivan,,,
ivan at wavetail.420.am
Thu Aug 18 15:33:32 PDT 2011
Update of /home/cvs/cvsroot/freeside/httemplate/search
In directory wavetail.420.am:/tmp/cvs-serv6773
Modified Files:
Tag: FREESIDE_2_1_BRANCH
477partVI_census.html
Log Message:
fix 477 package links report_option arg, RT#13922
Index: 477partVI_census.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/477partVI_census.html,v
retrieving revision 1.2.2.6
retrieving revision 1.2.2.7
diff -u -w -d -r1.2.2.6 -r1.2.2.7
--- 477partVI_census.html 18 Aug 2011 21:27:49 -0000 1.2.2.6
+++ 477partVI_census.html 18 Aug 2011 22:33:30 -0000 1.2.2.7
@@ -144,10 +144,11 @@
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(',', at ro) if @ro;
$result;
};
More information about the freeside-commits
mailing list