summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2018-08-01 14:08:40 -0700
committerIvan Kohler <ivan@freeside.biz>2018-08-01 14:08:40 -0700
commit73d77018925b4df83690ae45d65298c571788b15 (patch)
tree9799cc08e24e039e148d4d13c5ff7613063c5dd6
parentc33b1d6f242cd1e9f104ba21645eea388fb82794 (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 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 '.