Modify ↓
      
Opened 15 years ago
Last modified 14 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)
follow-up: 2 comment:1 by , 15 years ago
| Keywords: | query added | 
|---|---|
| Milestone: | → next-major-0.1X | 
comment:2 by , 15 years ago
  Note:
 See   TracTickets
 for help on using tickets.
    


  
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
[ ] Reportercheckbox before the[ ] Descriptionone.