mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-19 15:01:14 +00: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:
parent
6404ee5714
commit
46c82fc184
@ -84,7 +84,7 @@ module UsersHelper
|
||||
'last_login_on',
|
||||
'passwd_changed_on'
|
||||
]
|
||||
user_custom_fields = UserCustomField.all
|
||||
user_custom_fields = UserCustomField.sorted
|
||||
|
||||
# csv header fields
|
||||
csv << columns.map {|column| l('field_' + column)} + user_custom_fields.pluck(:name)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user