Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: ursusaureus on February 27, 2010, 01:54:49 PM

Title: address book alphabetization
Post by: ursusaureus on February 27, 2010, 01:54:49 PM
I am a new user.  I would like to have my address book alphabetized by the LAST NAME, not the DISPLAY NAME.  Then I would like the email address to show the DISPLAY NAME.  So the Address Book would aphabetize by Smith, John, but the email address would come us as "John Smith"

Thanks for help with this.

Ursus
Title: address book alphabetization
Post by: ABerglund on February 27, 2010, 05:53:52 PM
Edit the following file - /program/include/rcube_contacts.php

Find the following line:

" ORDER BY name",
Change it to read:

" ORDER BY surname",
Title: address book alphabetization
Post by: ursusaureus on March 09, 2010, 12:05:17 PM
Thanks so much.  Clearly, though, Roundcube is beyond me.  I had thought that perhaps a solution existed without dealing with code (about which I know nothing).  I guess I'll just have to take (what to me seems the very illogical) alpha ordering by first name that the basic coding requires. :(