Changes between Version 2 and Version 3 of TracQuery


Ignore:
Timestamp:
May 14, 2016, 3:47:56 PM (8 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TracQuery

    v2 v3  
    3333''Note:'' one way to easily build queries like the ones below, you can build and test the queries in the Custom report module and when ready - click ''Save query''. This will build the query string for you. All you need to do is remove the extra line breaks.
    3434
     35''Note:'' you must have the '''REPORT_CREATE''' permission in order to save queries to the list of default reports. The ''Save query'' button will only appear if you are logged in as a user that has been granted this permission. If your account does not have permission to create reports, you can still use the methods below to save a query.
     36
     37
    3538=== Using TracLinks ===
    3639
     
    6568  [[TicketQuery(version=0.6|0.7&resolution=duplicate)]]
    6669
    67 Just like the [wiki:TracQuery#UsingTracLinks query: wiki links], the parameter of this macro expects a query string formatted according to the rules of the simple [wiki:TracQuery#QueryLanguage ticket query language].
     70Just like the [wiki:TracQuery#UsingTracLinks query: wiki links], the parameter of this macro expects a query string formatted according to the rules of the simple [wiki:TracQuery#QueryLanguage ticket query language]. This also allows displaying the link and description of a single ticket:
     71{{{
     72[[TicketQuery(id=123)]]
     73}}}
     74
     75This is displayed as:
     76  [[TicketQuery(id=123)]]
    6877
    6978A more compact representation without the ticket summaries is also available: