freeside/httemplate/search cust_bill.html,1.8,1.9
ivan
ivan at pouncequick.420.am
Fri May 28 03:17:11 PDT 2004
Update of /home/cvs/cvsroot/freeside/httemplate/search
In directory pouncequick:/tmp/cvs-serv32180
Modified Files:
cust_bill.html
Log Message:
correct count statement when searching for individual invoices by #
Index: cust_bill.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/cust_bill.html,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- cust_bill.html 1 May 2004 22:49:09 -0000 1.8
+++ cust_bill.html 28 May 2004 10:17:08 -0000 1.9
@@ -41,7 +41,7 @@
} else {
$cgi->param('invnum') =~ /^\s*(FS-)?(\d+)\s*$/;
- $count_query = 'SELECT 1';
+ $count_query = "SELECT COUNT(*) FROM cust_bill WHERE invnum = $2";
$sql_query = {
'table' => 'cust_bill',
'hashref' => { 'invnum' => $2 },
More information about the freeside-commits
mailing list