[freeside-commits] branch master updated. 3ce70fff14b951189273348f4ddd06aa1069eafc

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


The branch, master has been updated
       via  3ce70fff14b951189273348f4ddd06aa1069eafc (commit)
      from  1c59bba12621e154765a8255534e94a041dfd200 (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 3ce70fff14b951189273348f4ddd06aa1069eafc
Author: Mark Wells <mark at freeside.biz>
Date:   Tue Apr 17 18:19:05 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