Edgewall Software
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

patch-customorder-r1036.diff (1004 bytes) - added by pkou <pkou at ua.fm> 8 years ago.
Patch for the defect

Download all attachments as: .zip

Change History

Changed 8 years ago by pkou <pkou at ua.fm>

Patch for the defect

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].

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
to The owner will be changed from daniel. Next status will be 'closed'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.