Project

General

Profile

Actions

Patch #1708

closed

'Assigned to' list sorts by id, not name

Added by Christian Bryn over 16 years ago. Updated about 16 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
UI
Target version:
Start date:
2008-07-29
Due date:
% Done:

0%

Estimated time:

Description

Hello!
When assigning issues to users, finding the right person in the drop down list can be more time consuming than it should - as the list grows it appears as a mess. The truth is that it's not a mess, but sorted by id - this does not make sense to a user ;-)

I have attached patches for 0.7.3, but the behavior is the same in subversion (r1709). The patches will sort by (first) name instead of id.

Please let me know if you need more information etc.

Best regards,
Christian Bryn :--)


Files

_form.rhtml.diff (275 Bytes) _form.rhtml.diff Christian Bryn, 2008-07-29 16:42
_form_update.rhtml.diff (273 Bytes) _form_update.rhtml.diff Christian Bryn, 2008-07-29 16:42
user-sorting-r1711.patch (7.57 KB) user-sorting-r1711.patch User sorting - system setting r1711 Eric Davis, 2008-07-31 05:38
user-sorting-example.png (19.5 KB) user-sorting-example.png Example screenshot of the system setting Eric Davis, 2008-07-31 05:38

Related issues

Related to Redmine - Feature #1595: Make last name an optional fieldNew2008-07-07

Actions
Related to Redmine - Defect #1841: Include both first and last name when sorting by usersClosed2008-09-02

Actions
Related to Redmine - Patch #2015: sort by name in select box to add user to project.Closed2008-10-09

Actions
Actions #1

Updated by Ewan Makepeace over 16 years ago

I looked around and apparently users are sorted by lastname not ID?

+1 for the option to sort by first name however.

Actions #2

Updated by Eric Davis over 16 years ago

Attached is a patch (with tests) that make user sorted a system setting. In Administration > Settings > General is an option to sort users by first name, last name, or login. This will affect assignment boxes like the patch above and also the sorting on a Projects member page.

Actions #3

Updated by Jean-Philippe Lang about 16 years ago

  • Category changed from Issues to UI
  • Status changed from New to Closed
  • Target version set to 0.8

I think it makes sens to simply sort users by their display names so that users dropdown list are properly sorted alphabetically. It's fixed in r2010.

Actions #4

Updated by Christian Bryn about 16 years ago

Sounds good to me, thanks :-)

Actions

Also available in: Atom PDF