Actions
Defect #28393
closedSort issue custom fields by position in tracker UI
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Fixed
Affected version:
Description
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.
Files
Updated by Go MAEDA over 6 years ago
- File custom-fields@2x.png custom-fields@2x.png added
- File before@2x.png before@2x.png added
- File after@2x.png after@2x.png added
- Tracker changed from Feature to Defect
- Status changed from New to Confirmed
- Target version set to 3.3.7
Confirmed this issue. Setting target version to 3.3.7.
Custom fields:
Before:
After:
Updated by Go MAEDA over 6 years ago
- Status changed from Confirmed to Closed
- Assignee set to Go MAEDA
- Resolution set to Fixed
Committed the patch to the trunk and merged to stable branches. Thank you for the fix.
Actions