[#6721] group by lastname regardless of name_format
Summary group by lastname regardless of name_format
Queue Turba
Queue Version 2.2-RC4
Type Enhancement
State Accepted
Priority 1. Low
Owners
Requester steinhof (at) umich (dot) edu
Created 05/19/2008 (111 days ago)
Due 05/19/2008 (111 days ago)
Updated 05/20/2008 (110 days ago)
Assigned
Resolved
Attachments last_na me_grouping.patch Download
Milestone 2.2.1
Patch Yes

History
05/20/2008 Jan Schneider Patch ⇒ 1
Milestone ⇒ 2.2.1
State ⇒ Accepted
 
05/19/2008 steinhof (at) umich (dot) edu Comment #2
New Attachment: last_na me_grouping.patch Download
Reply to this comment
To follow up on this, attached is the patch of the solution I came up 
with to implement this.
05/19/2008 steinhof (at) umich (dot) edu Comment #1
Patch ⇒
Milestone ⇒
Queue ⇒ Turba
Due ⇒ 05/19/2008
Summary ⇒ group by lastname regardless of name_format
Type ⇒ Enhancement
Priority ⇒ 1. Low
State ⇒ New
Reply to this comment
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?