Changeset 4444 for branches/2.2.0.1


Ignore:
Timestamp:
05/18/11 11:43:28 (13 years ago)
Author:
rafaelraymundo
Message:

Ticket #1886 - Erro ao criar Grupo contendo Contato Compartilhado.

Location:
branches/2.2.0.1/contactcenter
Files:
2 edited

Legend:

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

    r4328 r4444  
    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,' 
  • branches/2.2.0.1/contactcenter/js/ccAddGroup.js

    r4132 r4444  
    370370 
    371371                   var item = data[3][i]; 
    372                    var id = 'ldap:'+data[11]+':'+item[6]; 
     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                   } 
    373379                   var option = document.createElement('OPTION'); 
    374380                   option.value = id; 
Note: See TracChangeset for help on using the changeset viewer.