Changeset 4470 for sandbox


Ignore:
Timestamp:
05/20/11 11:15:25 (13 years ago)
Author:
airton
Message:

Ticket #1820 - Erro ao criar grupo contendo contato compartilhado - r4444

Location:
sandbox/2.2.0.2/contactcenter
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sandbox/2.2.0.2/contactcenter/inc/class.so_group.inc.php

    r4355 r4470  
    141141                        { 
    142142                                $query = 'select' 
    143                                                 . ' phpgw_cc_connections.id_connection,' 
    144                                                 . ' phpgw_cc_contact.id_contact,' 
    145                                                 . ' phpgw_cc_contact.names_ordered,' 
    146                                                 . ' phpgw_cc_contact.alias,' 
    147                                                 . ' phpgw_cc_contact.birthdate,' 
    148                                                 . ' phpgw_cc_contact.sex,' 
    149                                                 . ' phpgw_cc_contact.pgp_key,' 
    150                                                 . ' phpgw_cc_contact.notes,' 
    151                                                 . ' phpgw_cc_contact.web_page,' 
    152                                                 . ' phpgw_cc_contact.corporate_name,' 
    153                                                 . ' phpgw_cc_contact.job_title,' 
    154                                                 . ' phpgw_cc_contact.department,' 
    155                                                 . ' phpgw_cc_connections.connection_name,' 
    156                                                 . ' phpgw_cc_connections.connection_value,' 
    157                                                 . ' phpgw_cc_contact_conns.id_typeof_contact_connection,' 
     143                                                . ' C.id_connection,' 
     144                                                . ' A.id_contact,' 
     145                                                . ' A.names_ordered,' 
     146                                                . ' A.alias,' 
     147                                                . ' A.birthdate,' 
     148                                                . ' A.sex,' 
     149                                                . ' A.pgp_key,' 
     150                                                . ' A.notes,' 
     151                                                . ' A.web_page,' 
     152                                                . ' A.corporate_name,' 
     153                                                . ' A.job_title,' 
     154                                                . ' A.department,' 
     155                                                . ' C.connection_name,' 
     156                                                . ' C.connection_value,' 
     157                                                . ' B.id_typeof_contact_connection,' 
    158158                                                . ' phpgw_cc_contact_addrs.id_typeof_contact_address,' 
    159159                                                . ' phpgw_cc_addresses.address1,' 
  • sandbox/2.2.0.2/contactcenter/js/ccAddGroup.js

    r4132 r4470  
    369369                { 
    370370 
    371                    var item = data[3][i]; 
    372                    var id = 'ldap:'+data[11]+':'+item[6]; 
    373                    var option = document.createElement('OPTION'); 
    374                    option.value = id; 
    375                    option.text = item[1]+' ('+item[4]+')'; 
    376                    contact_list.options[contact_list.options.length] = option; 
     371                                        var item = data[3][i]; 
     372                                        if (data[8] == 'bo_shared_people_manager'){  
     373                                                var id = data[3][i][6];  
     374                                        }         
     375                                        else  
     376                                        {  
     377                                                var id = 'ldap:'+data[11]+':'+item[6];  
     378                                        } 
     379                                        var option = document.createElement('OPTION'); 
     380                                        option.value = id; 
     381                                        option.text = item[1]+' ('+item[4]+')'; 
     382                                        contact_list.options[contact_list.options.length] = option; 
    377383                } 
    378384 
Note: See TracChangeset for help on using the changeset viewer.