Edgewall Software
Modify

Opened 14 years ago

Last modified 13 years ago

#9735 new defect

TicketQuery adds reporter by default

Reported by: Mitar Owned by:
Priority: normal Milestone: next-major-releases
Component: ticket system Version: 0.12dev
Severity: normal Keywords: query
Cc: mmitar@… Branch:
Release Notes:
API Changes:
Internal Changes:

Description

TicketQuery macro adds reporter row by default if using rows option. It seems this is hard-coded. It would be great to be able to disable this feature for those who wants more concise output.

Attachments (0)

Change History (4)

comment:1 by Christian Boos, 14 years ago

Keywords: query added
Milestone: next-major-0.1X

Yes, that would be a good thing.

However, the line you refer to is only there to provide the proper 'reporter' value to the hard-coded expression in the template, which is evaluated when there's at least one displayed row. See trunk/trac/ticket/templates/query_results.html#L78.

What could be done is to make the display of that row conditioned by a [ ] Reporter checkbox before the [ ] Description one.

in reply to:  1 comment:2 by Mitar, 14 years ago

Replying to cboos:

What could be done is to make the display of that row conditioned by a [ ] Reporter checkbox before the [ ] Description one.

Hm, my biggest problem is with TracQuery macro. It would be useful to also have a option there.

comment:3 by Christian Boos, 14 years ago

#9969 was closed as duplicate.

comment:4 by cenovsky@…, 13 years ago

What should I remove to not show the Reported by row?

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.
The ticket will be disowned.
as The resolution will be set. Next status will be 'closed'.
The owner will be changed from (none) to anonymous. Next status will be 'assigned'.

Add Comment


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