[turba] group by lastname regardless of name_format

Kris Steinhoff steinhof at umich.edu
Thu May 15 19:52:24 UTC 2008


On Apr 24, 2008, at 1:56 PM, Kris Steinhoff wrote:

> I'd like to be able to group and sort contacts by lastname even when  
> my name_format is first_last. Currently, when name_format is  
> first_last, and I browse my "S" page, I get all of my contacts whose  
> first name starts with "S". I'd rather always get my contacts whose  
> last name starts with "S".
>
> I've not found an obvious way to do this with options or in the  
> code. What would I have to do to implement this behavior?

To follow up on this, attached is the patch of the solution I came up  
with to implement this.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: last_na me_grouping.patch
Type: application/octet-stream
Size: 1234 bytes
Desc: not available
Url : http://lists.horde.org/archives/turba/attachments/20080515/3b4e7d57/attachment.obj 
-------------- next part --------------



More information about the turba mailing list