Fullname field as Sort Criteria by last name??

mikerosenthal - August 6, 2007 - 21:09
Project:Fullname field for CCK
Version:5.x-1.x-dev
Component:User interface
Category:support request
Priority:normal
Assigned:rconstantine
Status:duplicate
Description

Im using the fullname field in a node ive created. i'd like the view of that node to sort every node by the last name as entered into the fullname field. when i choose to sort by the fullname field, it sorts by the first name. this seems mildly illogical. is there something im missing?

#1

rconstantine - August 6, 2007 - 21:41

It's actually a deeper problem with CCK. It wasn't designed for multiple-fields-as-one for some unknown reason. Only the first field in a multi-field CCK field is sortable. I haven't worked with views yet, so the obvious answer of defining the Fullname field by using the last name first didn't occur to me. I can shuffle the fields the next chance I get. I still have another module I'm trying to finish that is driving me crazy. As soon as I do, I'm planning on addressing all issues with all of my modules so I'll throw this on the pile. That's a good catch. Thanks.

#2

mikerosenthal - August 8, 2007 - 15:51

ok cool.thanks for following up. i'll await the update.

cheers.

-mike

#3

rconstantine - August 16, 2007 - 02:31
Assigned to:Anonymous» rconstantine
Status:active» duplicate

Actually, this is a duplicate. I noticed I commented on this in this issue here: http://drupal.org/node/158630

I'm actually looking at all of this right now, so if I update the module to include this, you'll see a comment over at that other issue and an upload for a new release will shortly follow.

 
 

Drupal is a registered trademark of Dries Buytaert.