[freeside-commits] freeside/httemplate/search 477partVI_census.html, 1.2.2.10, 1.2.2.11

Ivan,,, ivan at wavetail.420.am
Thu Aug 18 16:39:45 PDT 2011


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

Modified Files:
      Tag: FREESIDE_2_1_BRANCH
	477partVI_census.html 
Log Message:
attempt fixing "multiple states" links, RT#13922

Index: 477partVI_census.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/477partVI_census.html,v
retrieving revision 1.2.2.10
retrieving revision 1.2.2.11
diff -u -w -d -r1.2.2.10 -r1.2.2.11
--- 477partVI_census.html	18 Aug 2011 23:29:25 -0000	1.2.2.10
+++ 477partVI_census.html	18 Aug 2011 23:39:43 -0000	1.2.2.11
@@ -156,8 +156,14 @@
 my $html_foot = sub {
   if (scalar(keys %state_hash) > 1) {
 
-    my $roa = join(',', grep $_, @technology_option);
-    $roa = ";report_option_any=$roa" if $roa;
+    my $roa_r = join(',', grep $_, @row_option);
+    $roa_r = ";report_option_any_r=$roa_r" if $roa_r;
+
+    my $roa_c = join(',', grep $_, @column_option);
+    $roa_c = ";report_option_any_c=$roa_c" if $roa_c;
+
+    my $roa_t = join(',', grep $_, @technology_option);
+    $roa_t = ";report_option_any_t=$roa_t" if $roa_t;
     
     '<BR><B>WARNING: multiple states found</B><BR>'.
     '<TABLE BORDER=0>'. #nicer formatting someday
@@ -166,7 +172,7 @@
                        ( &FS::Report::FCC_477::statenum2state($_) || 'None' ).
                      '</TD>'.
                      '<TD>'.
-                       qq(<A HREF="${link}censustract2=$_$roa">).
+                       qq(<A HREF="${link}censustract2=$_$roa_r$row_c$row_t">).
                        $state_pkgcount{$_}. ' packages</A> in '.
                        $state_hash{$_}. ' census tracts'.
                      '</TD>'.



More information about the freeside-commits mailing list