[freeside-commits] freeside/httemplate/search cust_bill.html, 1.22, 1.23
Ivan,,,
ivan at wavetail.420.am
Tue Nov 27 15:47:10 PST 2007
Update of /home/cvs/cvsroot/freeside/httemplate/search
In directory wavetail:/tmp/cvs-serv7190
Modified Files:
cust_bill.html
Log Message:
fix small side-effect of mysql-compat change eliminating DISTINCT ON: map changing values of @where array
Index: cust_bill.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/cust_bill.html,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- cust_bill.html 29 Oct 2007 10:30:53 -0000 1.22
+++ cust_bill.html 27 Nov 2007 23:47:07 -0000 1.23
@@ -148,7 +148,10 @@
#$orderby = 'ORDER BY cust_bill.custnum ASC, cust_bill._date DESC';
#$count_query = "SELECT 'N/A', 'N/A', 'N/A'"; #XXXXXXX fix
- my @newest_where = map { s/\bcust_bill\./newest_cust_bill./g; }
+ my @newest_where = map { my $x = $_;
+ $x =~ s/\bcust_bill\./newest_cust_bill./g;
+ $x;
+ }
grep ! /^cust_main./, @where;
my $newest_where = scalar(@newest_where)
? ' AND '. join(' AND ', @newest_where)
More information about the freeside-commits
mailing list