Edgewall Software

Changes between Version 10 and Version 11 of TracQuery


Ignore:
Timestamp:
Aug 28, 2006, 4:33:07 PM (18 years ago)
Author:
Christopher Lenz
Comment:

Minor corrections

Legend:

Unmodified
Added
Removed
Modified
  • TracQuery

    v10 v11  
    2828You may want to save some queries so that you can come back to them later.  You can do this by making a link to the query from any Wiki page.
    2929{{{
    30 [query:status=new|assigned|reopened&version=0.8 Active tickets against 0.8]
     30[query:status=new|assigned|reopened&version=1.0 Active tickets against 1.0]
    3131}}}
    3232
    3333Which is displayed as:
    34   [query:status=new|assigned|reopened&version=0.8 Active tickets against 0.8]
     34  [query:status=new|assigned|reopened&version=1.0 Active tickets against 1.0]
    3535
    3636This uses a very simple query language to specify the criteria (see [wiki:TracQuery#QueryLanguage Query Language]).
     
    4444  [query:?status=new&status=assigned&status=reopened&group=owner Assigned tickets by owner]
    4545
    46 The advantage of this approach is that you can also specify the grouping and ordering, which is not possible using the first syntax.
    47 
    4846=== Using the `[[TicketQuery]]` Macro ===
    4947
     
    5250Example:
    5351{{{
    54 [[TicketQuery(version=0.9b1|0.9b2&resolution=duplicate)]]
     52[[TicketQuery(version=1.0|2.0&resolution=duplicate)]]
    5553}}}
    5654
    5755This is displayed as:
    58   [[TicketQuery(version=0.9b1|0.9b2&resolution=duplicate)]]
     56  [[TicketQuery(version=1.0|2.0&resolution=duplicate)]]
    5957
    6058Just 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].
     
    6260A more compact representation without the ticket summaries is also available:
    6361{{{
    64 [[TicketQuery(version=0.9b1|0.9b2&resolution=duplicate, compact)]]
     62[[TicketQuery(version=1.0|2.0&resolution=duplicate, compact)]]
    6563}}}
    6664
    6765This is displayed as:
    68   [[TicketQuery(version=0.9b1|0.9b2&resolution=duplicate, compact)]]
     66  [[TicketQuery(version=1.0|2.0&resolution=duplicate, compact)]]
    6967
    7068=== Query Language ===