projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c59bba
)
restore agent_custid smart search, #17424
author
Mark Wells
<mark@freeside.biz>
Wed, 18 Apr 2012 01:19:05 +0000
(18:19 -0700)
committer
Mark Wells
<mark@freeside.biz>
Wed, 18 Apr 2012 01:19:05 +0000
(18:19 -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
1e9eee7
..
31b89cd
100644
(file)
--- a/
FS/FS/cust_main/Search.pm
+++ b/
FS/FS/cust_main/Search.pm
@@
-166,6
+166,12
@@
sub smart_search {
}
}
+ push @cust_main, qsearch( {
+ 'table' => 'cust_main',
+ 'hashref' => { 'agent_custid' => $num, %options },
+ 'extra_sql' => " AND $agentnums_sql", #agent virtualization
+ } );
+
if ( $conf->exists('address1-search') ) {
my $len = length($num);
$num = lc($num);