summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2018-08-01 14:08:36 -0700
committerIvan Kohler <ivan@freeside.biz>2018-08-01 14:08:36 -0700
commitabb2234d109622e9f9b6fae0806fc1ba737a5c2c (patch)
treef7825a624b2b6eb49e8efb9dca436724394f2763
parent45320da7b03e9dc899b77eadf8f7bf401522da48 (diff)
cust_main fields only
-rw-r--r--FS/FS/cust_main/Search.pm1
1 files changed, 1 insertions, 0 deletions
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 '.