Changeset 5513


Ignore:
Timestamp:
02/14/12 15:34:10 (12 years ago)
Author:
douglas
Message:

Ticket #2489 - Acrescentar limite de resultados do Ldap na pesquisa de destinatários da tela F9

File:
1 edited

Legend:

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

    r5509 r5513  
    443443                }   
    444444                $filter = $ldapService->getSearchFilter($params['search_for'], $types); 
    445                 // Retirei o this->max_results, que limitava a busca. Agora ta retornando tudo amigo. 
    446                 $sr=@ldap_search($this->ds, $this->ldap_context, $filter, $justthese, 0); 
     445                // Retirei o this->max_result, que limitava a busca. Agora ta retornando tudo amigo. 
     446                $sr=@ldap_search($this->ds, $this->ldap_context, $filter, $justthese, 0, $this->max_result); 
    447447                  
    448448                if(!$sr) 
Note: See TracChangeset for help on using the changeset viewer.