Changeset 4645 for branches/2.2


Ignore:
Timestamp:
07/01/11 08:22:33 (13 years ago)
Author:
diegomoreno
Message:

Ticket #2010 - expressoMail1_2 - Ajuste para quicksearch localizar contas compartilhadas e institucionais.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/expressoMail1_2/inc/class.ldap_functions.inc.php

    r4614 r4645  
    125125                        if (($field != 'null') && ($ID != 'null')) 
    126126                        { 
    127                                 $filter="(& (&(|(phpgwAccountType=u)(phpgwAccountType=g)(phpgwAccountType=l))(mail=*)) (|(cn=*$search_for*)(mail=*$search_for*)) (!(phpgwaccountvisible=-1)) )"; 
     127                                $filter="(& (&(|(phpgwAccountType=u)(phpgwAccountType=g)(phpgwAccountType=l)(phpgwAccountType=i)(phpgwAccountType=s))(mail=*)) (|(cn=*$search_for*)(mail=*$search_for*)) (!(phpgwaccountvisible=-1)) )"; 
    128128                                if($extendedinfo) 
    129129                                $justthese = array("cn", "mail", "telephoneNumber", "mobile", "phpgwAccountVisible", "uid", "employeeNumber", "ou"); 
Note: See TracChangeset for help on using the changeset viewer.