[freeside-commits] freeside/httemplate/search 477partVI_census.html, 1.3.2.14, 1.3.2.15

Ivan,,, ivan at wavetail.420.am
Tue Feb 14 21:17:25 PST 2012


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

Modified Files:
      Tag: FREESIDE_2_3_BRANCH
	477partVI_census.html 
Log Message:
fix 477 VI

Index: 477partVI_census.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/477partVI_census.html,v
retrieving revision 1.3.2.14
retrieving revision 1.3.2.15
diff -u -w -d -r1.3.2.14 -r1.3.2.15
--- 477partVI_census.html	9 Feb 2012 04:00:22 -0000	1.3.2.14
+++ 477partVI_census.html	15 Feb 2012 05:17:23 -0000	1.3.2.15
@@ -126,8 +126,10 @@
 
 my $count_query = 'SELECT count(*) FROM ( ('.
    join( ') UNION ALL (',
-          map { my $extra = $_->{extra_sql};  my $addl = $_->{addl_from};
-                "SELECT censustract from cust_pkg $addl $extra";
+      map { my $addl_from = $_->{addl_from};
+            my $extra_sql = $_->{extra_sql};
+            my $order_by  = $_->{order_by};
+            "SELECT censustract from cust_pkg $addl_from $extra_sql $order_by";
               }
           @sql_query
        ). ') ) AS foo';



More information about the freeside-commits mailing list