Changeset 1918


Ignore:
Timestamp:
01/05/10 14:46:03 (14 years ago)
Author:
valmir.sena
Message:

Ticket #875 - Funcao quicksearch do expressoMail nao busca contas institucionais e compartilhadas

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoMail1_2/inc/class.ldap_functions.inc.php

    r1912 r1918  
    121121                        if (($field != 'null') && ($ID != 'null')) 
    122122                        { 
    123                                 $filter="(& (&(|(phpgwAccountType=u)(phpgwAccountType=g)(phpgwAccountType=l))(mail=*)) (|(cn=*$search_for*)(mail=*$search_for*)) (!(phpgwaccountvisible=-1)) )"; 
     123                                $filter="(& (&(|(phpgwAccountType=u)(phpgwAccountType=g)(phpgwAccountType=l)(phpgwAccountType=i)(phpgwAccountType=s))(mail=*)) (|(cn=*$search_for*)(mail=*$search_for*)) (!(phpgwaccountvisible=-1)) )"; 
    124124                                $justthese = array("cn", "mail", "telephoneNumber", "mobile", "phpgwAccountVisible", "uid", "employeeNumber", "ou"); 
    125125                        } 
Note: See TracChangeset for help on using the changeset viewer.