[freeside-commits] branch FREESIDE_3_BRANCH updated. 0d99014e30c82066319e6245101609df7ca63c7d
Ivan
ivan at 420.am
Tue Jun 7 01:25:44 PDT 2016
The branch, FREESIDE_3_BRANCH has been updated
via 0d99014e30c82066319e6245101609df7ca63c7d (commit)
from 00f903db5078b4137495a3fb6b650890ce92fb5c (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 0d99014e30c82066319e6245101609df7ca63c7d
Author: Ivan Kohler <ivan at freeside.biz>
Date: Tue Jun 7 01:25:43 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 aa8c079..a3a7aef 100755
--- a/httemplate/search/cust_main.cgi
+++ b/httemplate/search/cust_main.cgi
@@ -128,7 +128,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