make address fields work in customer search results, #940
authorMark Wells <mark@freeside.biz>
Mon, 27 Aug 2012 06:04:19 +0000 (23:04 -0700)
committerMark Wells <mark@freeside.biz>
Tue, 28 Aug 2012 23:55:24 +0000 (16:55 -0700)
FS/FS/cust_main/Search.pm

index 7b2f30d..b07223e 100644 (file)
@@ -798,6 +798,9 @@ sub search {
 
   my @select = (
                  'cust_main.custnum',
+                 # there's a good chance that we'll need these
+                 'cust_main.bill_locationnum',
+                 'cust_main.ship_locationnum',
                  FS::UI::Web::cust_sql_fields($params->{'cust_fields'}),
                );