[freeside-commits] branch master updated. 6d821bf9a2419a177014cf882178370a0cdc748f
Ivan
ivan at 420.am
Tue Jun 7 01:25:41 PDT 2016
The branch, master has been updated
via 6d821bf9a2419a177014cf882178370a0cdc748f (commit)
from a9a0e9deba329f2427082e5c30a308d11118b5e0 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 6d821bf9a2419a177014cf882178370a0cdc748f
Author: Ivan Kohler <ivan at freeside.biz>
Date: Tue Jun 7 01:25:40 2016 -0700
fix customer list/search, RT#41684, RT#20173
diff --git a/httemplate/search/cust_main.cgi b/httemplate/search/cust_main.cgi
index 76cbe49..62231a1 100755
--- a/httemplate/search/cust_main.cgi
+++ b/httemplate/search/cust_main.cgi
@@ -129,7 +129,10 @@
% 'select' => 'part_svc.*, COUNT(*) AS num_cust_svc',
% 'table' => 'part_svc',
% 'addl_from' => 'LEFT JOIN cust_svc USING ( svcpart )',
-% 'extra_sql' => 'WHERE pkgnum = ? GROUP BY part_svc.svcpart',
+% 'extra_sql' => 'WHERE pkgnum = ? '.
+% ' GROUP BY '. join(', ',
+% map "part_svc.$_", fields('part_svc')
+% ),
% 'extra_param' => [ [$cust_pkg->pkgnum,'int'] ],
% })
% ) {
-----------------------------------------------------------------------
Summary of changes:
httemplate/search/cust_main.cgi | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
More information about the freeside-commits
mailing list