From: Ivan Kohler Date: Wed, 1 Aug 2018 21:08:36 +0000 (-0700) Subject: cust_main fields only X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=abb2234d109622e9f9b6fae0806fc1ba737a5c2c cust_main fields only --- diff --git a/FS/FS/cust_main/Search.pm b/FS/FS/cust_main/Search.pm index c27bfba54..ba1df8ce3 100644 --- a/FS/FS/cust_main/Search.pm +++ b/FS/FS/cust_main/Search.pm @@ -382,6 +382,7 @@ sub smart_search { if ( $conf->exists('address1-search') && length($value) >= $min_len ) { push @cust_main, qsearch( { + select => 'cust_main.*', table => 'cust_main', addl_from => 'JOIN cust_location USING (custnum)', extra_sql => 'WHERE '.