Vote #79216
完了Sort issue custom fields by position in tracker UI
0%
説明
When configuring issue custom fields for a single tracker, the custom fields are order by creation date. Instead they should be ordered by their position.
Attached you may find a patch, implementing the desired behavior. Furthermore, it's changing the line @IssueCustomField.all.sort@ to @IssueCustomField.sorted@ in the @TrackersController@. The latter will sort the records within the DB, which should be slightly faster.
journals
Confirmed this issue. Setting target version to 3.3.7.
*
Custom fields:*
!{border: 1px solid #ccc; width: 777px}.custom-fields@2x.png!
*Before:*
!{border: 1px solid #ccc; width: 777px}.before@2x.png!
*After:*
!{border: 1px solid #ccc; width: 777px}.after@2x.png!
--------------------------------------------------------------------------------
Committed the patch to the trunk and merged to stable branches. Thank you for the fix.
--------------------------------------------------------------------------------