Project

General

Profile

Actions

Defect #1841

closed

Include both first and last name when sorting by users

Defect #1841: Include both first and last name when sorting by users

Added by Artem Vasiliev about 18 years ago. Updated almost 18 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Issues
Target version:
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 1 (0 open — 1 closed)

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

Updated by Eric Davis about 18 years ago Actions #1

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.

Updated by Artem Vasiliev about 18 years ago Actions #2

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!

Updated by Artem Vasiliev about 18 years ago Actions #3

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

Updated by Artem Vasiliev about 18 years ago Actions #4

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.

Updated by Karl Heinz Marbaise about 18 years ago Actions #6

  • Category set to Issues

Updated by Jean-Philippe Lang almost 18 years ago Actions #7

  • 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: PDF Atom