cust_main fields only
authorIvan Kohler <ivan@freeside.biz>
Wed, 1 Aug 2018 21:06:37 +0000 (14:06 -0700)
committerIvan Kohler <ivan@freeside.biz>
Wed, 1 Aug 2018 21:06:37 +0000 (14:06 -0700)
FS/FS/cust_main/Search.pm

index 3c2440e..def180d 100644 (file)
@@ -210,6 +210,7 @@ sub smart_search {
       # probably the Right Thing: return customers that have any associated
       # locations matching the string, not just bill/ship location
       push @cust_main, qsearch( {
+        'select'    => 'cust_main.*',
         'table'     => 'cust_main',
         'addl_from' => ' JOIN cust_location USING (custnum) ',
         'hashref'   => { %options, },