diff options
| author | Christopher Burger <burgerc@freeside.biz> | 2019-04-04 10:59:48 -0400 |
|---|---|---|
| committer | Christopher Burger <burgerc@freeside.biz> | 2019-04-08 08:20:31 -0400 |
| commit | 64730bda4ec6abbe4b5ca153150571ed80e49857 (patch) | |
| tree | bd7284564d3b28c9e7920eea4cc1de8e09534dff /FS | |
| parent | 9f2da34557def5325781121ba4f6ac1eb101cb77 (diff) | |
RT# 75357 - Prospects can now be disabled
Diffstat (limited to 'FS')
| -rw-r--r-- | FS/FS/prospect_main.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/prospect_main.pm b/FS/FS/prospect_main.pm index c54c569c3..5d909a3ea 100644 --- 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; - 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"; |
