mirror of
https://github.com/redmine/redmine.git
synced 2025-11-15 09:46:02 +01:00
Fix that custom fields in users CSV are not ordered by position value (#33126).
git-svn-id: http://svn.redmine.org/redmine/trunk@19767 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -84,7 +84,7 @@ module UsersHelper
|
|||||||
'last_login_on',
|
'last_login_on',
|
||||||
'passwd_changed_on'
|
'passwd_changed_on'
|
||||||
]
|
]
|
||||||
user_custom_fields = UserCustomField.all
|
user_custom_fields = UserCustomField.sorted
|
||||||
|
|
||||||
# csv header fields
|
# csv header fields
|
||||||
csv << columns.map {|column| l('field_' + column)} + user_custom_fields.pluck(:name)
|
csv << columns.map {|column| l('field_' + column)} + user_custom_fields.pluck(:name)
|
||||||
|
|||||||
Reference in New Issue
Block a user