projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
1e88509
)
RT# 77532 - search count is now correct
author
Christopher Burger
<burgerc@freeside.biz>
Sat, 8 Dec 2018 13:55:07 +0000
(08:55 -0500)
committer
Christopher Burger
<burgerc@freeside.biz>
Sat, 8 Dec 2018 14:16:47 +0000
(09:16 -0500)
Conflicts:
FS/FS/cust_main/Search.pm
FS/FS/cust_main/Search.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cust_main/Search.pm
b/FS/FS/cust_main/Search.pm
index
b1af41c
..
3061b2c
100644
(file)
--- 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'}) {