projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RT# 82132 - updated password reset by mail to use username-uppercase config
[freeside.git]
/
FS
/
FS
/
prospect_main.pm
diff --git
a/FS/FS/prospect_main.pm
b/FS/FS/prospect_main.pm
index
c54c569
..
5d909a3
100644
(file)
--- a/
FS/FS/prospect_main.pm
+++ b/
FS/FS/prospect_main.pm
@@
-462,7
+462,7
@@
sub search {
# here is the agent virtualization
push @where, $FS::CurrentUser::CurrentUser->agentnums_sql;
# here is the agent virtualization
push @where, $FS::CurrentUser::CurrentUser->agentnums_sql;
- my $extra_sql = scalar(@where) ? ' WHERE '. join(' AND ', @where) : '';
+ my $extra_sql = scalar(@where) ? ' WHERE
prospect_main.custnum IS NULL AND
'. join(' AND ', @where) : '';
my $count_query = "SELECT COUNT(*) FROM prospect_main $extra_sql";
my $count_query = "SELECT COUNT(*) FROM prospect_main $extra_sql";