Project

General

Profile

Actions

Defect #1841

closed

Include both first and last name when sorting by users

Added by Artem Vasiliev over 15 years ago. Updated about 15 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Issues
Target version:
Start date:
2008-09-02
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

First, user dropdown sorting (e.g. 'Assigned to' field in Edit Issue screen) is far from obvious. I found explanation in #507 just occasionally. Let's sort by (first name, last name) pair. This will improve user dropdown usability because it will be consistent with the way user name is displayed (and choosing user dropdown items by keyboard will start to work).

Next, sorting by just last name doesn't scale: even our small company now has two people with the same last name and issues list sorting by Assigned To looks just broken for them (see attachment).


Files

bad_issues_sorting_by_assigned.png (81.7 KB) bad_issues_sorting_by_assigned.png Artem Vasiliev, 2008-09-02 10:17

Related issues

Related to Redmine - Patch #1708: 'Assigned to' list sorts by id, not nameClosed2008-07-29

Actions
Actions #1

Updated by Eric Davis over 15 years ago

My patch on issue #1708 allows user sorting to be customized by the admin. It includes options to sort by first name, last name, or login name.

Actions #2

Updated by Artem Vasiliev over 15 years ago

Eric Davis wrote:

My patch on issue #1708 allows user sorting to be customized by the admin. It includes options to sort by first name, last name, or login name.

That's great, thanks!

Actions #3

Updated by Artem Vasiliev over 15 years ago

Artem Vasiliev wrote:

Eric Davis wrote:

My patch on issue #1708 allows user sorting to be customized by the admin. It includes options to sort by first name, last name, or login name.

That's great, thanks!

Uhh, that's not what we want actually. We need it to be sorted by pair - like

ORDER BY firstname, lastname
Actions #4

Updated by Artem Vasiliev over 15 years ago

Patch is committed to http://github.com/artemv/redmine_tt/commit/3246d2bd8fed74c4ea0ac29e9c7dff74897395ac.
The part for issue list sorting is a hardcore hack however - making it right needs some multifield sorting support from Redmine first.

Actions #6

Updated by Karl Heinz Marbaise over 15 years ago

  • Category set to Issues
Actions #7

Updated by Jean-Philippe Lang about 15 years ago

  • Status changed from New to Closed
  • Target version set to 0.9.0
  • Resolution set to Fixed

Fixed in r2351. Users are now sorted by last and first name.

Actions

Also available in: Atom PDF