[turba] name sorting

Liam Hoekenga liamr at umich.edu
Tue Mar 11 21:41:16 UTC 2008


Ok.. so, in order to have our addressbooks sorted alphabetically by 
lastname / surname, it looks like I've got to set $_prefs['name_format'] 
to 'last_first'.

What I have noticed, though, is that it only then sorts by lastname; the 
firstname isn't taken into account.  I'm guessing it's display in the 
order that the entries were added to the database.

So, rather than getting..

   Smith, Abel
   Smith, Barry
   Smith, Chris
   Smith, Doug

I might get..

   Smith, Barry
   Smith, Doug
   Smith, Abel
   Smith, Chris

Is it possible to configure turba to sort by lastname, and then firstname?

Is it possible to configure turba to display the addressbook in 
alphabetical order by lastname, without setting $_pref['name_format']? 
(Should it /always/ sort by lastname?).  Would it make sense to see...

   Abel Smith
   Barry Smith
   ...

... if name_format was set to first_last, and the user clicked "S"?

Liam


More information about the turba mailing list