Opened 12 months ago

Last modified 2 months ago

#11567 new defect

grouping ticket_type causes header to break in ticket_box.html template

Reported by: russell.ballestrini@… Owned by: thomasd
Priority: normal Component: GroupTicketFieldsPlugin
Severity: normal Keywords:
Cc: falkb, russell.ballestrini@…, lucalenardi@… Trac Release: 1.0


A defect in this plugin breaks header ordering on ticket_box.html template when placing ticket_type into a group.

How to reproduce:

group_order = ticket_type
ticket_type = Ticket Type
ticket_type.fields = type

What happens

#4 5 new

    <a href="/cars-sm/ticket/4" class="trac-id">#4</a>
    <span class="trac-status">
      <a href="/cars-sm/query?status=!closed&amp;priority=5">5</a>
    <span class="trac-type">
      <a href="/cars-sm/query?status=new">new</a>

What we expect to happen

#4 new Bug

    <a href="/cars-sm/ticket/4" class="trac-id">#4</a>
    <span class="trac-status">
      <a href="/cars-sm/query?status=new">new</a>
    <span class="trac-type">
      <a href="/cars-sm/query?status=!closed&amp;type=Bug">Bug</a>

Attachments (0)

Change History (4)

comment:1 Changed 12 months ago by russellballestrini

  • Cc russell.ballestrini@… added

comment:2 Changed 5 months ago by lucalenardi@…

That also happens by grouping other "main" ticket fields (e.g. Owner or reporter). It seems that somewhere list items get moved around...

comment:3 Changed 5 months ago by lucalenardi

  • Cc lucalenardi@… added

comment:4 Changed 2 months ago by lucalenardi

Any idea on how to fix? I can try to fix it, but need some advises...

Add Comment

Modify Ticket

as new The owner will remain thomasd.

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

Note: See TracTickets for help on using tickets.