Closed (fixed)
Project:
Site User List
Version:
5.x-1.x-dev
Component:
User interface
Priority:
Minor
Category:
Feature request
Assigned:
Reporter:
Created:
22 Sep 2007 at 21:41 UTC
Updated:
23 Oct 2007 at 15:51 UTC
A profile field in site_user_list can be marked as sortable, but I need to be able to select one of these sortable fields as the default sorting when the user list is shown. The list is now shown by user registration time, which is not how I would like it.
P.S. As an alternative, I tried to make a menu item pointing to site_user_list?sort=asc&order=Naam, but Drupal seems to URL-encode all the separator characters, making the URL unusable.
Comments
Comment #1
pukku commentedI'm pretty sure it defaults to sorting by the first column, so if you use something other than UID as the first column, it should sort by that...
HTH,
Ricky
Comment #2
RingoDS commentedRicky,
Thanks for the tip. I moved the "Last Name" column from the second to the first column and it sorts by default on that column now. I didn't know about that.
Still, I find it a miss that I couldn't set the "Last Name" column, when it is the second column, as the default sorting.
Ringo
Comment #3
pukku commentedYes, I know that it should be possible to select a default sort column — right now, I'm pretty much swamped with a million other problems to fix at work, so I'm not really doing active development on modules right yet. When I do start adding new features, I will include this...
Ricky
Comment #4
(not verified) commented