Changeset 4669


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
Files:
3 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 
  • branches/2.2.0.1/contactcenter/templates/default/config.tpl

    r3262 r4669  
    7676                                <option value="true" {selected_cc_ldap_subLevels_true}>Sim</option> 
    7777                                <option value="false" {selected_cc_ldap_subLevels_false}>Não</option> 
     78                        </select> 
     79                </td> 
     80        </tr> 
     81        <tr class="row_on"> 
     82                <td>{Buscar recursivamente ao clicar no botão "Todos"?} :</td> 
     83                <td> 
     84                        <select name="newsettings[cc_ldap_recursive]"> 
     85                                <option value="false" {selected_cc_ldap_recursive_false}>Não</option> 
     86                                <option value="true" {selected_cc_ldap_recursive_true}>Sim</option> 
    7887                        </select> 
    7988                </td> 
Note: See TracChangeset for help on using the changeset viewer.