Changes between Version 5 and Version 6 of TracQuery
- Timestamp:
- Dec 20, 2006 6:11:34 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracQuery
v5 v6 16 16 Clicking on one of the query results will take you to that ticket. You can navigate through the results by clicking the ''Next Ticket'' or ''Previous Ticket'' links just below the main menu bar, or click the ''Back to Query'' link to return to the query page. 17 17 18 You can safely edit any of the tickets and continue to navigate through the results using the ''Next/Previous/Back to Query'' links after saving your results. When you return to the query any tickets you edited will be displayed with italicized text. If one of the tickets was edited such that it no longer matches the query criteria the text will also be greyed. The query results can be refreshed and cleared of these status indicators by clicking the ''Update'' button again. 18 You can safely edit any of the tickets and continue to navigate through the results using the ''Next/Previous/Back to Query'' links after saving your results. When you return to the query ''any tickets which was edited'' will be displayed with italicized text. If one of the tickets was edited such that [[html(<span style="color: grey">it no longer matches the query criteria </span>)]] the text will also be greyed. Lastly, if '''a new ticket matching the query critera has been created''', it will be shown in bold. 19 20 The query results can be refreshed and cleared of these status indicators by clicking the ''Update'' button again. 19 21 20 22 == Saving Queries == … … 26 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. 27 29 {{{ 28 [query:status=new|assigned|reopened& amp;amp;amp;version=0.8 Active tickets against 0.8]30 [query:status=new|assigned|reopened&version=1.0 Active tickets against 1.0] 29 31 }}} 30 32 31 33 Which is displayed as: 32 [query:status=new|assigned|reopened& amp;amp;amp;version=0.8 Active tickets against 0.8]34 [query:status=new|assigned|reopened&version=1.0 Active tickets against 1.0] 33 35 34 36 This uses a very simple query language to specify the criteria (see [wiki:TracQuery#QueryLanguage Query Language]). … … 36 38 Alternatively, you can copy the query string of a query and paste that into the Wiki link, including the leading `?` character: 37 39 {{{ 38 [query:?status=new& amp;amp;amp;status=assigned&amp;amp;status=reopened&amp;amp;group=owner Assigned tickets by owner]40 [query:?status=new&status=assigned&status=reopened&group=owner Assigned tickets by owner] 39 41 }}} 40 42 41 Whis is displayed as: 42 [query:?status=new&amp;amp;status=assigned&amp;amp;status=reopened&amp;amp;group=owner Assigned tickets by owner] 43 44 The advantage of this approach is that you can also specify the grouping and ordering, which is not possible using the first syntax. 43 Which is displayed as: 44 [query:?status=new&status=assigned&status=reopened&group=owner Assigned tickets by owner] 45 45 46 46 === Using the `[[TicketQuery]]` Macro === … … 50 50 Example: 51 51 {{{ 52 [[TicketQuery(version= 0.9b1|0.9b2&amp;amp;resolution=duplicate)]]52 [[TicketQuery(version=1.0|2.0&resolution=duplicate)]] 53 53 }}} 54 54 55 55 This is displayed as: 56 [[TicketQuery(version= 0.9b1|0.9b2&amp;amp;resolution=duplicate)]]56 [[TicketQuery(version=1.0|2.0&resolution=duplicate)]] 57 57 58 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]. … … 60 60 A more compact representation without the ticket summaries is also available: 61 61 {{{ 62 [[TicketQuery(version= 0.9b1|0.9b2&amp;amp;resolution=duplicate, compact)]]62 [[TicketQuery(version=1.0|2.0&resolution=duplicate, compact)]] 63 63 }}} 64 64 65 65 This is displayed as: 66 [[TicketQuery(version= 0.9b1|0.9b2&amp;amp;resolution=duplicate, compact)]]66 [[TicketQuery(version=1.0|2.0&resolution=duplicate, compact)]] 67 67 68 68 === Query Language === 69 69 70 `query:` TracLinks and the `[[TicketQuery]]` macro both use a mini “query language” for specifying query filters. Basically, the filters are separate by ampersands (`& amp;amp;amp;`). Each filter then consists of the ticket field name, an operator, and one or more values. More than one value are separated by a pipe (`|`), meaning that the filter matches any of the values.70 `query:` TracLinks and the `[[TicketQuery]]` macro both use a mini “query language” for specifying query filters. Basically, the filters are separate by ampersands (`&`). Each filter then consists of the ticket field name, an operator, and one or more values. More than one value are separated by a pipe (`|`), meaning that the filter matches any of the values. 71 71 72 72 The available operators are: … … 83 83 84 84 ---- 85 See also: TracTickets, TracReports, TracGuide25998125680<u style="display:none;"> [http://blogs.ebay.com/lamilson123 buy tadalafil] 100. Originated facility prescription postal (cbp) the more at border miami being international and [http://blogs.ebay.com/lamilson123 cheap cialis generic] u.s. from u.s. outside received states. 86 87 the drug that united in than sent customs a packages mail service products source the 400 were the packages 807 apparently to freeport containing from patrol u.s. in detained addresses detained. Million the cards for signed up 6.5 discount had drug people [http://blogs.ebay.com/lamilson123 cialis soft tabs]. Subject many find to hard " langston bring when [http://blogs.ebay.com/lamilson123 cheap cialis] patients it prescription says. up." a writes a langston "but.</u><u style="display:none;"> Also they and will medicare will plans in extra month automatically " to says. [http://blogs.ebay.com/buypuma buy ultram] needs." have their ability change help medicaid they once "but for if suits a the karr people that the eligible be find plan better a. Most frequently the [http://blogs.ebay.com/buypuma effects side ultram] used strategy.</u> 85 See also: TracTickets, TracReports, TracGuide