From abb2234d109622e9f9b6fae0806fc1ba737a5c2c Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Wed, 1 Aug 2018 14:08:36 -0700 Subject: [PATCH] cust_main fields only --- FS/FS/cust_main/Search.pm | 1 + 1 file changed, 1 insertion(+) 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 '. -- 2.11.0