[freeside-commits] branch FREESIDE_4_BRANCH updated. bc401796f3e0306aa2ec55001a2256a34495abd9
Ivan
ivan at 420.am
Tue Jun 7 01:25:43 PDT 2016
The branch, FREESIDE_4_BRANCH has been updated
via bc401796f3e0306aa2ec55001a2256a34495abd9 (commit)
from 680aba630fa70add3218eabaebe2c3da86116c7e (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 bc401796f3e0306aa2ec55001a2256a34495abd9
Author: Ivan Kohler <ivan at freeside.biz>
Date: Tue Jun 7 01:25:42 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