projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c6e4f94
)
fix 477 VI
author
ivan
<ivan>
Wed, 15 Feb 2012 05:17:22 +0000
(
05:17
+0000)
committer
ivan
<ivan>
Wed, 15 Feb 2012 05:17:22 +0000
(
05:17
+0000)
httemplate/search/477partVI_census.html
patch
|
blob
|
history
diff --git
a/httemplate/search/477partVI_census.html
b/httemplate/search/477partVI_census.html
index
51baef7
..
3883a1c
100755
(executable)
--- a/
httemplate/search/477partVI_census.html
+++ b/
httemplate/search/477partVI_census.html
@@
-126,11
+126,13
@@
foreach my $row ( @row_option ) {
my $count_query = 'SELECT count(*) FROM ( ('.
join( ') UNION ALL (',
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";
- }
- @sql_query
- ). ') ) AS foo';
+ 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';
my $link = 'cust_pkg.cgi?'. join(';',
map { my $key = $_;
my $link = 'cust_pkg.cgi?'. join(';',
map { my $key = $_;