From fa391b8ca16d6cb128592ee0da8921c50924340f Mon Sep 17 00:00:00 2001 From: Jonathan Prykop Date: Thu, 5 May 2016 23:15:15 -0500 Subject: Revert "RT#41394: Add advertising source to customer fields selection" This reverts commit d6e587f3c4c71170a7cc58bf6755d616777bc131. --- FS/FS/cust_main/Search.pm | 4 ---- 1 file changed, 4 deletions(-) (limited to 'FS/FS/cust_main/Search.pm') 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 = ( -- cgit v1.1