Author Topic: address book alphabetization  (Read 2627 times)

Offline ursusaureus

  • Newbie
  • *
  • Posts: 3
address book alphabetization
« 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

Offline ABerglund

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 673
address book alphabetization
« Reply #1 on: February 27, 2010, 05:53:52 PM »
Edit the following file - /program/include/rcube_contacts.php

Find the following line:

Code: [Select]
" ORDER BY name",
Change it to read:

Code: [Select]
" ORDER BY surname",
Arne Berglund
SysAdmin, Internet Services
Lane Education Service District
Eugene, OR, USA

Offline ursusaureus

  • Newbie
  • *
  • Posts: 3
address book alphabetization
« Reply #2 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. :(