Edgewall Software
Modify

Opened 20 years ago

Closed 20 years ago

#901 closed defect (fixed)

[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: Branch:
Release Notes:
API Changes:
Internal 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 (1)

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

Download all attachments as: .zip

Change History (3)

by pkou <pkou at ua.fm>, 20 years ago

Patch for the defect

comment:1 by daniel, 20 years ago

Milestone: 0.8
Owner: changed from Jonas Borgström to daniel
Status: newassigned

Beautiful. Many thanks!

comment:2 by daniel, 20 years ago

Resolution: fixed
Status: assignedclosed

Merged in [1042].

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain daniel.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from daniel to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.