Changes between Version 10 and Version 11 of TracQuery
- Timestamp:
- Aug 28, 2006, 4:33:07 PM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracQuery
v10 v11 28 28 You 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. 29 29 {{{ 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] 31 31 }}} 32 32 33 33 Which 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] 35 35 36 36 This uses a very simple query language to specify the criteria (see [wiki:TracQuery#QueryLanguage Query Language]). … … 44 44 [query:?status=new&status=assigned&status=reopened&group=owner Assigned tickets by owner] 45 45 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 48 46 === Using the `[[TicketQuery]]` Macro === 49 47 … … 52 50 Example: 53 51 {{{ 54 [[TicketQuery(version= 0.9b1|0.9b2&resolution=duplicate)]]52 [[TicketQuery(version=1.0|2.0&resolution=duplicate)]] 55 53 }}} 56 54 57 55 This is displayed as: 58 [[TicketQuery(version= 0.9b1|0.9b2&resolution=duplicate)]]56 [[TicketQuery(version=1.0|2.0&resolution=duplicate)]] 59 57 60 58 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]. … … 62 60 A more compact representation without the ticket summaries is also available: 63 61 {{{ 64 [[TicketQuery(version= 0.9b1|0.9b2&resolution=duplicate, compact)]]62 [[TicketQuery(version=1.0|2.0&resolution=duplicate, compact)]] 65 63 }}} 66 64 67 65 This is displayed as: 68 [[TicketQuery(version= 0.9b1|0.9b2&resolution=duplicate, compact)]]66 [[TicketQuery(version=1.0|2.0&resolution=duplicate, compact)]] 69 67 70 68 === Query Language ===