[freeside-commits] branch FREESIDE_3_BRANCH updated. 656df6e610807dea9e2c58bd33f763e0e22f8cdc
Christopher Burger
burgerc at freeside.biz
Sat Dec 8 06:17:33 PST 2018
The branch, FREESIDE_3_BRANCH has been updated
via 656df6e610807dea9e2c58bd33f763e0e22f8cdc (commit)
from 1e88509da1f9e4cc1626f1714f64953f9efba8e3 (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 656df6e610807dea9e2c58bd33f763e0e22f8cdc
Author: Christopher Burger <burgerc at freeside.biz>
Date: Sat Dec 8 08:55:07 2018 -0500
RT# 77532 - search count is now correct
Conflicts:
FS/FS/cust_main/Search.pm
diff --git a/FS/FS/cust_main/Search.pm b/FS/FS/cust_main/Search.pm
index b1af41c2a..3061b2c12 100644
--- a/FS/FS/cust_main/Search.pm
+++ b/FS/FS/cust_main/Search.pm
@@ -1143,7 +1143,7 @@ sub search {
}
- my $count_query = "SELECT COUNT(*) FROM cust_main $addl_from $extra_sql";
+ my $count_query = "SELECT COUNT(DISTINCT cust_main.custnum) FROM cust_main $addl_from $extra_sql";
if ($params->{'flattened_pkgs'}) {
-----------------------------------------------------------------------
Summary of changes:
FS/FS/cust_main/Search.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
More information about the freeside-commits
mailing list