projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
142f1bb
)
mobile numbers searchable, RT#18840
author
Ivan Kohler
<ivan@freeside.biz>
Tue, 21 Aug 2012 20:51:16 +0000
(13:51 -0700)
committer
Ivan Kohler
<ivan@freeside.biz>
Tue, 21 Aug 2012 20:51:16 +0000
(13:51 -0700)
FS/FS/cust_main/Search.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cust_main/Search.pm
b/FS/FS/cust_main/Search.pm
index
a55b573
..
a6eb0a5
100644
(file)
--- a/
FS/FS/cust_main/Search.pm
+++ b/
FS/FS/cust_main/Search.pm
@@
-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