Modify

Opened 16 years ago

Closed 4 years ago

#2642 closed enhancement (wontfix)

Allow field order to be specified

Reported by: Jason Trahan Owned by: obs
Priority: high Component: BlackMagicTicketTweaksPlugin
Severity: normal Keywords:
Cc: sue.sml2006@… Trac Release: 0.11

Description

It would be nice to be able to specify what order the built in fields get rendered.

IE

component.order = 1
type.order = 2
priority.order = 3
}}]

Attachments (0)

Change History (12)

comment:1 Changed 15 years ago by Ryan J Ollos

Summary: Field OrderAllow field order to be controlled

comment:2 Changed 15 years ago by Ryan J Ollos

Summary: Allow field order to be controlledAllow field order to be specified

Even better if this could include custom fields as well.

comment:3 Changed 14 years ago by obs

Owner: changed from Stephen Hansen to obs
Priority: normalhigh

That's a good idea, I like it.

comment:4 Changed 14 years ago by anonymous

Cc: sue.sml2006@… added; anonymous removed

would also like this feature

comment:5 Changed 13 years ago by kuehn@…

Thumbs up, we'd love that, too. May also co-fix the problem that hidden fields sometimes leave a blank space in the form.

an easier to edit way to configure the order may be:

order = type, component, author, owner, priority, severity

(and what's not in that list gets rendered behind these in the default order)

Thanks for the good and flexible plugin!

comment:6 Changed 13 years ago by anonymous

I also think that this is a good idea. My boss don't like that, and I'm the smack boy :P

comment:7 Changed 12 years ago by Ruth Trevor-Allen

For people waiting on this, a possible workaround is documented at http://taroza[dot]wordpress[dot]com/2009/12/21/arrange-fields-in-trac-tickets/ (sorry, trac-hacks doesn't like wordpress links!) - basically, follow these steps:

  • Add the code snippet provided at the above link at the top of that file, changing the line field_types = ["type", "priority", "milestone", "keywords", "cc", "component"] so it contains your fields in the order you require (this can be a mix of custom and in-built fields). Any fields not included in this list will appear at the end of the ticket form.
  • Save the file to your project's _template_ directory.

Worked for me. Not an ideal solution, as you'll have to check ticket.html for changes whenever you upgrade Trac, but workable.

comment:8 in reply to:  7 Changed 12 years ago by Ryan J Ollos

Replying to fleeblewidget@gmail.com:

For people waiting on this, a possible workaround is documented at http://taroza[dot]wordpress[dot]com/2009/12/21/arrange-fields-in-trac-tickets/ (sorry, trac-hacks doesn't like wordpress links!) - basically, follow these steps:

That link is dead now. Do you have a new location for the blog?

comment:9 Changed 12 years ago by Ruth Trevor-Allen

Still works for me. You have to replace every [dot] with an actual '.' character - I couldn't post the comment with a wordpress link in it.

For everybody's convenience, I've made a post on my blog which contains the working link. http://fleeblewidget.co.uk/2012/04/rearranging-ticket-fields-in-trac/

comment:10 in reply to:  9 Changed 12 years ago by Ryan J Ollos

Replying to fleeblewidget:

For everybody's convenience, I've made a post on my blog which contains the working link. http://fleeblewidget.co.uk/2012/04/rearranging-ticket-fields-in-trac/

Ahh, thank you. I may have noticed the [dot]s had I actually looked before commenting ;)

comment:11 Changed 7 years ago by massimo.b@…

Are there any news on this request? Having the order attribute for custom ticket fields it is still not possible to change the order of the builtin fields like type or priority.

comment:12 Changed 4 years ago by Ryan J Ollos

Resolution: wontfix
Status: newclosed

This plugin is deprecated in Trac 1.4 and later. See migration tips on BlackMagicTicketTweaksPlugin page.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain obs.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.