Closed (fixed)
Project:
Views (for Drupal 7)
Version:
6.x-2.8
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
8 Feb 2010 at 16:57 UTC
Updated:
1 Apr 2010 at 22:40 UTC
I want to sort a list of user names by the last name.
The value of the username is firstname + lastname as entered by the user at registration in a single field.
I have a node whose title field is the name of a station of a volunteer event.
This same node also has a field with multiple values These multiple values are the volunteers assigned to the station.
This field is a user reference. The value displayed is the username.
I also have a profile with a firstname field and a lastname field that is associated with the user or account.
I can't figure how to display volunteers by their lastname with Views.
Any suggestions?
Thanks
Comments
Comment #1
dawehnerI guess its not possible to sort by a string, but there internal by a substring. So i suggest to store the first name and the last name in two seperate fields. Than you can display both, but make the use the last name, as field for sort in the table configuration.
Comment #2
esmerel commented