Vote #63810
完了Include both first and last name when sorting by users
0%
説明
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).
journals
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.
--------------------------------------------------------------------------------
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!
--------------------------------------------------------------------------------
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
--------------------------------------------------------------------------------
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.
--------------------------------------------------------------------------------
> Patch is committed to http://github.com/artemv/redmine_tt/commit/3246d2bd8fed74c4ea0ac29e9c7dff74897395ac.
refined it a bit: http://github.com/artemv/redmine_tt/commit/7744181c5157ed3a8b18cdfd81f3b58d59742beb
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Fixed in r2351. Users are now sorted by last and first name.
--------------------------------------------------------------------------------
related_issues
relates,Closed,1708,'Assigned to' list sorts by id, not name