From: Ivan Kohler Date: Wed, 1 Aug 2018 21:08:40 +0000 (-0700) Subject: cust_main fields only X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=73d77018925b4df83690ae45d65298c571788b15 cust_main fields only --- diff --git a/FS/FS/cust_main/Search.pm b/FS/FS/cust_main/Search.pm index 356a56a0b..1a19ea343 100644 --- a/FS/FS/cust_main/Search.pm +++ b/FS/FS/cust_main/Search.pm @@ -407,6 +407,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 '.