Edgewall Software

Changes between Version 18 and Version 19 of TracQuery


Ignore:
Timestamp:
Sep 26, 2008, 10:51:26 PM (16 years ago)
Author:
thinice@…
Comment:

Demonstration on using pipes - also to let people know that you -can- specifically set the cols for the table format (Documentation on this is scarce as far as I can tell)

Legend:

Unmodified
Added
Removed
Modified
  • TracQuery

    v18 v19  
    2929{{{
    3030[query:status=new|assigned|reopened&version=1.0 Active tickets against 1.0]
    31 
    3231}}}
    3332
     
    4039{{{
    4140[query:?status=new&status=assigned&status=reopened&group=owner Assigned tickets by owner]
    42 
    4341}}}
    4442
     
    6361{{{
    6462[[TicketQuery(version=0.6|0.7&resolution=duplicate, compact)]]
    65 
    6663}}}
    6764
     
    7370{{{
    7471[[TicketQuery(version=0.6|0.7&resolution=duplicate, count)]]
    75 
    7672}}}
    7773
    7874This is displayed as:
    7975  [[TicketQuery(version=0.6|0.7&resolution=duplicate, count)]]
     76
     77=== Customizing the ''table'' format ===
     78You can also customize the columns displayed in the table format (''format=table'') by using ''col=<field>'' - you can specify multiple fields and what order they are displayed by placing pipes (`|`) between the columns like below:
     79
     80{{{
     81[[TicketQuery(max=3,status=closed,order=id,desc=1,format=table,col=resolution|summary|owner|reporter)]]
     82}}}
     83
     84This is displayed as:
     85[[TicketQuery(max=3,status=closed,order=id,desc=1,format=table,col=resolution|summary|owner|reporter)]]
    8086
    8187