[freeside-commits] freeside/httemplate/search 477partVI_census.html, 1.8, 1.9
Ivan,,,
ivan at wavetail.420.am
Thu Aug 18 15:33:30 PDT 2011
Update of /home/cvs/cvsroot/freeside/httemplate/search
In directory wavetail.420.am:/tmp/cvs-serv6757
Modified Files:
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.8
retrieving revision 1.9
diff -u -w -d -r1.8 -r1.9
--- 477partVI_census.html 18 Aug 2011 21:27:47 -0000 1.8
+++ 477partVI_census.html 18 Aug 2011 22:33:28 -0000 1.9
@@ -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