[freeside-commits] branch FREESIDE_2_3_BRANCH updated. d79c0d9b129507021f6c21f3e5974b2c84fe7d91

Mark Wells mark at 420.am
Tue Apr 17 18:19:27 PDT 2012


The branch, FREESIDE_2_3_BRANCH has been updated
       via  d79c0d9b129507021f6c21f3e5974b2c84fe7d91 (commit)
      from  1d290564e5fe8cb9468d3369665f9587e0c06cf5 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit d79c0d9b129507021f6c21f3e5974b2c84fe7d91
Author: Mark Wells <mark at freeside.biz>
Date:   Tue Apr 17 18:19:18 2012 -0700

    restore agent_custid smart search, #17424

diff --git a/FS/FS/cust_main/Search.pm b/FS/FS/cust_main/Search.pm
index 1e9eee7..31b89cd 100644
--- 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);

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/cust_main/Search.pm |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)




More information about the freeside-commits mailing list