[freeside-commits] freeside/httemplate/search 477partVI_census.html, 1.17, 1.18
Ivan,,,
ivan at wavetail.420.am
Tue Feb 14 21:17:24 PST 2012
Update of /home/cvs/cvsroot/freeside/httemplate/search
In directory wavetail.420.am:/tmp/cvs-serv544
Modified Files:
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.17
retrieving revision 1.18
diff -u -w -d -r1.17 -r1.18
--- 477partVI_census.html 9 Feb 2012 04:00:13 -0000 1.17
+++ 477partVI_census.html 15 Feb 2012 05:17:22 -0000 1.18
@@ -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