mobile numbers searchable, RT#18840
authorIvan Kohler <ivan@freeside.biz>
Tue, 21 Aug 2012 20:51:16 +0000 (13:51 -0700)
committerIvan Kohler <ivan@freeside.biz>
Tue, 21 Aug 2012 20:51:16 +0000 (13:51 -0700)
FS/FS/cust_main/Search.pm

index a55b573..a6eb0a5 100644 (file)
@@ -85,8 +85,8 @@ sub smart_search {
       'extra_sql' => ( scalar(keys %options) ? ' AND ' : ' WHERE ' ).
                      ' ( '.
                          join(' OR ', map "$_ = '$phonen'",
-                                          qw( daytime night fax
-                                              ship_daytime ship_night ship_fax )
+                                          qw( daytime night mobile fax
+                                              ship_daytime ship_night ship_mobile ship_fax )
                              ).
                      ' ) '.
                      " AND $agentnums_sql", #agent virtualization