Ignore:
Timestamp:
07/04/11 17:32:33 (13 years ago)
Author:
rafaelraymundo
Message:

Ticket #2032 - Erro na exibição de contatos no Catálogo Expresso

Location:
branches/2.2.0.1/contactcenter/inc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.0.1/contactcenter/inc/class.bo_ldap_manager.inc.php

    r4326 r4669  
    5757                                                'branch' => $ou, //strtolower('ou'), 
    5858                                                'montaDN'=> $subLevels, //$data['cc_ldap_subLevels'], 
    59                                                 'visible'=> $data['cc_ldap_query_automatic'] 
     59                                                'visible'=> $data['cc_ldap_query_automatic'], 
     60                                                'recursive' =>  $data['cc_ldap_recursive'] 
    6061                                        ) 
    6162                                ); 
  • branches/2.2.0.1/contactcenter/inc/class.ui_data.inc.php

    r4630 r4669  
    12151215                                } 
    12161216 
    1217                                 $result = $this->bo->find($find_field[0],$find_restric[0],$find_other[0]); 
     1217                                if(!$this->bo->catalog->src_info) { 
     1218                                    $ldaps = CreateObject('contactcenter.bo_ldap_manager'); 
     1219                                    $this->bo->catalog->src_info = $ldaps->srcs[1]; 
     1220                                } 
     1221                                $recursive = $this->bo->catalog->src_info['recursive']; 
     1222 
     1223                                $result = $this->bo->find($find_field[0],$find_restric[0],$find_other[0],false,($recursive == "true") ? true : ''); 
    12181224                                $n_entries = count($result); 
    12191225 
Note: See TracChangeset for help on using the changeset viewer.