[freeside-commits] freeside/httemplate/search 477partVI_census.html, 1.3.2.8, 1.3.2.9
Ivan,,,
ivan at wavetail.420.am
Thu Aug 18 16:29:31 PDT 2011
Update of /home/cvs/cvsroot/freeside/httemplate/search
In directory wavetail.420.am:/tmp/cvs-serv15515/httemplate/search
Modified Files:
Tag: FREESIDE_2_3_BRANCH
477partVI_census.html
Log Message:
fix 477 package links, RT#13922
Index: 477partVI_census.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/477partVI_census.html,v
retrieving revision 1.3.2.8
retrieving revision 1.3.2.9
diff -u -w -d -r1.3.2.8 -r1.3.2.9
--- 477partVI_census.html 18 Aug 2011 23:22:07 -0000 1.3.2.8
+++ 477partVI_census.html 18 Aug 2011 23:29:28 -0000 1.3.2.9
@@ -147,7 +147,7 @@
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(',', at ro) if @ro;
$result;
@@ -155,6 +155,10 @@
my $html_foot = sub {
if (scalar(keys %state_hash) > 1) {
+
+ my $roa = join(',', grep $_, @technology_option);
+ $roa = ";report_option_any=$roa" if $roa;
+
'<BR><B>WARNING: multiple states found</B><BR>'.
'<TABLE BORDER=0>'. #nicer formatting someday
join('', map { '<TR>'.
@@ -162,7 +166,7 @@
( &FS::Report::FCC_477::statenum2state($_) || 'None' ).
'</TD>'.
'<TD>'.
- qq(<A HREF="${link}censustract2=$_">).
+ qq(<A HREF="${link}censustract2=$_$roa">).
$state_pkgcount{$_}. ' packages</A> in '.
$state_hash{$_}. ' census tracts'.
'</TD>'.
More information about the freeside-commits
mailing list