summaryrefslogtreecommitdiff
path: root/FS/FS/cust_main/Search.pm
diff options
context:
space:
mode:
authorJonathan Prykop <jonathan@freeside.biz>2016-05-12 21:48:48 -0500
committerJonathan Prykop <jonathan@freeside.biz>2016-05-12 21:48:48 -0500
commit99721eb3ca5b9200d2aaec4cab0cf120e382ed99 (patch)
tree1483cc8c6b1cc6f63e53d8787ee03ae64c858fa3 /FS/FS/cust_main/Search.pm
parent350c6073bb6cf465b02ef373bf7bfde2a8a07500 (diff)
Revert "RT#41394: Add advertising source to customer fields selection [new solution, for advanced customer report only]"
This reverts commit 3b50b841a272a5cd55497958d572dd73a3339e7b.
Diffstat (limited to 'FS/FS/cust_main/Search.pm')
-rw-r--r--FS/FS/cust_main/Search.pm11
1 files changed, 0 insertions, 11 deletions
diff --git a/FS/FS/cust_main/Search.pm b/FS/FS/cust_main/Search.pm
index cc23f50..c8a084c 100644
--- a/FS/FS/cust_main/Search.pm
+++ b/FS/FS/cust_main/Search.pm
@@ -620,10 +620,6 @@ listref (list returned by FS::UI::Web::parse_lt_gt($cgi, 'current_balance'))
bool
-=item select_referral
-
-bool, join to part_referral and select part_referral.referral
-
=back
=cut
@@ -1031,13 +1027,6 @@ sub search {
my(@extra_headers) = ();
my(@extra_fields) = ();
- if ($params->{'select_referral'}) {
- $addl_from .= ' LEFT JOIN part_referral ON ( cust_main.refnum = part_referral.refnum ) ';
- push @select, 'part_referral.referral';
- push @extra_headers, 'Advertising Source';
- push @extra_fields, 'referral';
- }
-
if ($params->{'flattened_pkgs'}) {
#my $pkg_join = '';