diff options
| author | Christopher Burger <burgerc@freeside.biz> | 2019-04-04 10:59:48 -0400 |
|---|---|---|
| committer | Christopher Burger <burgerc@freeside.biz> | 2019-04-07 14:34:04 -0400 |
| commit | e549e88c134121259da8c57c6f56f398320e0929 (patch) | |
| tree | 95b663026c12ffc11e16b46699d2ea803a9d0e48 /FS | |
| parent | 1370d9061f191fa7e62e89e128263f7c128ee8f1 (diff) | |
RT# 75357 - Prospects can now be disabled
Conflicts:
httemplate/edit/prospect_main.html
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 a6b593d56..7557e7706 100644 --- a/FS/FS/prospect_main.pm +++ b/FS/FS/prospect_main.pm @@ -427,7 +427,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"; |
