summaryrefslogtreecommitdiff
path: root/FS/FS/cust_main/Search.pm
diff options
context:
space:
mode:
authorJonathan Prykop <jonathan@freeside.biz>2016-05-05 23:15:15 -0500
committerJonathan Prykop <jonathan@freeside.biz>2016-05-05 23:15:15 -0500
commitfa391b8ca16d6cb128592ee0da8921c50924340f (patch)
tree748b0177660a31002cb2efc3c69a639bff212d16 /FS/FS/cust_main/Search.pm
parente50d09c68e9182ea4d1301ab04fb3559b3754c91 (diff)
Revert "RT#41394: Add advertising source to customer fields selection"
This reverts commit d6e587f3c4c71170a7cc58bf6755d616777bc131.
Diffstat (limited to 'FS/FS/cust_main/Search.pm')
-rw-r--r--FS/FS/cust_main/Search.pm4
1 files changed, 0 insertions, 4 deletions
diff --git a/FS/FS/cust_main/Search.pm b/FS/FS/cust_main/Search.pm
index 8e6d185..c8a084c 100644
--- a/FS/FS/cust_main/Search.pm
+++ b/FS/FS/cust_main/Search.pm
@@ -1013,10 +1013,6 @@ sub search {
'ON (cust_main.'.$pre.'locationnum = '.$pre.'location.locationnum) ';
}
- # always make referral available in results
- # (maybe we should be using FS::UI::Web::join_cust_main instead?)
- $addl_from .= ' LEFT JOIN part_referral ON (cust_main.refnum = part_referral.refnum) ';
-
my $count_query = "SELECT COUNT(*) FROM cust_main $addl_from $extra_sql";
my @select = (