[freeside-commits] freeside/httemplate/search 477partVI_census.html, 1.11, 1.12

Ivan,,, ivan at wavetail.420.am
Thu Aug 18 16:29:24 PDT 2011


Update of /home/cvs/cvsroot/freeside/httemplate/search
In directory wavetail.420.am:/tmp/cvs-serv15507/httemplate/search

Modified Files:
	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.11
retrieving revision 1.12
diff -u -w -d -r1.11 -r1.12
--- 477partVI_census.html	18 Aug 2011 23:22:07 -0000	1.11
+++ 477partVI_census.html	18 Aug 2011 23:29:21 -0000	1.12
@@ -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