projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
-w flag spewing too much to STDOUT
[freeside.git]
/
httemplate
/
search
/
cust_bill.html
diff --git
a/httemplate/search/cust_bill.html
b/httemplate/search/cust_bill.html
index
337e9e8
..
3ae624a
100755
(executable)
--- a/
httemplate/search/cust_bill.html
+++ b/
httemplate/search/cust_bill.html
@@
-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 },