Roundcube Community Forum

 

address book alphabetization

Started by ursusaureus, February 27, 2010, 01:54:49 PM

Previous topic - Next topic

ursusaureus

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

ABerglund

Edit the following file - /program/include/rcube_contacts.php

Find the following line:

" ORDER BY name",
Change it to read:

" ORDER BY surname",
Arne Berglund
SysAdmin, Internet Services
Lane Education Service District
Eugene, OR, USA

ursusaureus

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. :(