Modify

Opened 12 years ago

Closed 10 years ago

Last modified 10 years ago

#754 closed enhancement (fixed)

Add ability to use the custom query module to display the ticket list

Reported by: sid.wiesner@… Owned by: Shun-ichi Goto
Priority: normal Component: TicketBoxMacro
Severity: normal Keywords: query
Cc: Trac Release: 0.9

Description

I've been trying to move all my reports over to using custom queries because I know the Trac developers want to phase out the "Reports" module. Can you change this so it supports the "query" syntax as well?

Attachments (0)

Change History (6)

comment:1 Changed 10 years ago by anonymous

Cc: tobutaz+bugs+trac@… added; anonymous removed

comment:2 Changed 10 years ago by anonymous

Cc: anonymous added; tobutaz+bugs+trac@… removed

The trac:TicketQuery macro works for me.

comment:3 Changed 10 years ago by anonymous

Doesn't for me either. whether I use TicketQuery, or a report that is of format query:?....

same error: Error: Macro TicketBox(10%,"Tickets Req Review (%d)",23) failed

near "query": syntax error converting to sql syntax works fine. 0.11rc2, python 2.5

comment:4 Changed 10 years ago by Shun-ichi Goto

Resolution: fixed
Status: newclosed

(In [4084]) Support query string in macro argument and report definition. See TracQuery for the syntax of query string. Note that url style of query string is not yet supported. So if you use it in report, you cannot refer it.

Example:

[[TicketBox("Unassigned tickets", [query:status=new],inline,summary)]]

Close #754.

comment:5 in reply to:  4 Changed 10 years ago by Shun-ichi Goto

Replying to gotoh:

Close #754.

Note that this fix is only for 0.11 yet. I'll backport for other versions later (if possible).

comment:6 Changed 10 years ago by Shun-ichi Goto

Now it works on 0.9 and 0.10 (and of course 0.11 and 0.12dev).

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Shun-ichi Goto.
The resolution will be deleted.

Add Comment


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

 
Note: See TracTickets for help on using tickets.