プロジェクト

全般

プロフィール

Vote #77361

未完了

Sorting and displaying users is different order

Admin Redmine さんが約4年前に追加. 約4年前に更新.

ステータス:
New
優先度:
通常
担当者:
-
カテゴリ:
Accounts / authentication_7
対象バージョン:
-
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
7
version_id:
0
issue_org_id:
22497
author_id:
99211
assigned_to_id:
0
comments:
1
status_id:
1
tracker_id:
2
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[New]

説明

I tried to sort users (mainly in watchers list) in a different order than the order of displaing them. While users are to be displayed in the 'firstname lastname' order, I wanted to sort them by their lastname ('lastname firstname'), for example: "John Doe, Ann Smith" instead of the default sorting for this type of display "Ann Smith, John Doe".
I changed the order the ':order' field in /models/user.rb but it seems that it affected nothing - the users are still ordered according to the setting in ':string' field.
What does the ':order' do then?

Environment:
Redmine version 2.4.2.stable
Ruby version 1.9.3-p484
Rails version 3.2.16


journals

--------------------------------------------------------------------------------

Admin Redmine さんが約4年前に更新

  • カテゴリAccounts / authentication_7 にセット

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

いいね!0
いいね!0