AddressBook rendering problem when using displayName as...Display Name.
|Reported by:||Numbski||Owned by:|
This issue was discussed in this thread in the forums for further background:
When I configure LDAP as below:
'search_fields' => array('mail', 'cn', 'displayName', 'mailNickname'),
'name_field' => 'displayName',
'email_field' => 'mail',
'surname_field' => 'sn',
'firstname_field' => 'givenName',
'sort' => 'sn',
'scope' => 'sub', search mode: sub|base|list
'filter' => '(&(mailNickname=*)(sn=*)(!(msExchHideFromAddressL ists=TRUE))),
I'd like the Display Names that appear by default to be literally the user's displayName attribute, and for those to be ordered by last name (sn). It appears that the above works, HOWEVER there's a problem. All of the fields in the Display Name column in RoundCube are blank! The bottom of the screen reads: "Contacts 1 to 40 of 2000". If I click on one of those blanks, a user appears - and as such, those blanks are ordered by last name. Very strange!
Now, if I change name_field from displayName to cn, those fields are populated with the cn - but here that isn't useful, because those cn's are numeric. (I didn't do it, HONEST!) If I change it to company, the companies get listed. I can change it to anything basically but displayName. If I do that, the fields render blank.
Attached is an image of the problem.