projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Optimize "Customer has a referring customer" condition, RT#74452
[freeside.git]
/
httemplate
/
search
/
cust_pay_batch.cgi
diff --git
a/httemplate/search/cust_pay_batch.cgi
b/httemplate/search/cust_pay_batch.cgi
index
cc958b9
..
6b175ad
100755
(executable)
--- a/
httemplate/search/cust_pay_batch.cgi
+++ b/
httemplate/search/cust_pay_batch.cgi
@@
-114,7
+114,7
@@
$count_query = 'SELECT COUNT(*) FROM cust_pay_batch ' .
$sql_query = {
'table' => 'cust_pay_batch',
$sql_query = {
'table' => 'cust_pay_batch',
- 'select' => 'cust_pay_batch.*, cust_
main.*, cust_
pay.paynum',
+ 'select' => 'cust_pay_batch.*, cust_pay.paynum',
'hashref' => {},
'addl_from' => 'LEFT JOIN pay_batch USING ( batchnum ) '.
'LEFT JOIN cust_main USING ( custnum ) '.
'hashref' => {},
'addl_from' => 'LEFT JOIN pay_batch USING ( batchnum ) '.
'LEFT JOIN cust_main USING ( custnum ) '.