Ignore:
Timestamp:
05/27/11 17:57:48 (13 years ago)
Author:
airton
Message:

Ticket #1954 - Implementação de busca avançada no contactcenter

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sandbox/2.2.0.2/contactcenter/inc/class.bo_global_ldap_catalog.inc.php

    r4538 r4544  
    219219                    require_once $_SESSION['rootPath'].'/API/class.servicelocator.php'; 
    220220                    $ldapService = ServiceLocator::getService('ldap'); 
    221                     $filter =  $ldapService->getSearchFilter($find); 
     221 
     222                    if($other['customFilter']) 
     223                        $filter =  $ldapService->getSearchFilter( $other['CN'], false, $find, $other['exact'] ); 
     224                    else 
     225                        $filter =  $ldapService->getSearchFilter( $find ); 
     226 
    222227                    $fields = array('cn','dn'); 
    223228                    $ldap = $GLOBALS['phpgw']->common->ldapConnect($this->src_info['host'], $this->src_info['acc'], $this->src_info['pw'], true); 
Note: See TracChangeset for help on using the changeset viewer.