Modify ↓
Ticket #901 (closed defect: fixed)
Opened 8 years ago
Last modified 8 years ago
[PATCH] Custom fields are displayed in random order
| Reported by: | pkou <pkou at ua.fm> | Owned by: | daniel |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.8 |
| Component: | ticket system | Version: | devel |
| Severity: | normal | Keywords: | |
| Cc: | |||
| Release Notes: | |||
| API Changes: | |||
Description
Custom fields are displayed in random order when tickets are created/reviewed.
Attached patch fixes this defect in the following way:
- New property field.order is added to trac.ini for any custom field;
- The property can be either number or string:
- For numbers, numeric comparison is used;
- For strings, string comparison is used.
- If the property is not specified it equals to 0 by default.
Note that TracTicketsCustom needs to be edited when this defect is fixed.
Attachments
Change History
Changed 8 years ago by pkou <pkou at ua.fm>
- Attachment patch-customorder-r1036.diff added
comment:1 Changed 8 years ago by daniel
- Milestone set to 0.8
- Owner changed from jonas to daniel
- Status changed from new to assigned
Beautiful. Many thanks!
comment:2 Changed 8 years ago by daniel
- Resolution set to fixed
- Status changed from assigned to closed
Merged in [1042].
Note: See
TracTickets for help on using
tickets.



Patch for the defect