プロジェクト

全般

プロフィール

Vote #63810

完了

Include both first and last name when sorting by users

Admin Redmine さんが3年以上前に追加. 3年以上前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
Issues_2
対象バージョン:
開始日:
2008/09/02
期日:
進捗率:

0%

予定工数:
category_id:
2
version_id:
6
issue_org_id:
1841
author_id:
1347
assigned_to_id:
0
comments:
7
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

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

Admin Redmine さんが3年以上前に更新

  • カテゴリIssues_2 にセット
  • 対象バージョン0.9.0_6 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0