Menu

Commit [r4239]  Maximize  Restore  History

TracQuery supports specifying lists of ids (fixes #4119)

The `ticket:` TracLinks has been extended so that one can specify lists (and even ranges) of tickets, e.g. `#12,23-34,35,36,50,40-42` (see #3011).

This works with the TicketQuery as well (#2604). However, in this context the tickets and ranges have to be separated by the "|" character, as the "," character is already used as an argument separator.

Example:
{{{
[[TicketQuery(group=type&id=12|23-36|40-42|50,format=table)]]
}}}

In addition, the "!" negation operator works also for such lists.

cboos 2006-11-11

changed /trunk/templates/query.html
changed /trunk/trac/ticket/api.py
changed /trunk/trac/ticket/query.py
/trunk/templates/query.html Diff Switch to side-by-side view
Loading...
/trunk/trac/ticket/api.py Diff Switch to side-by-side view
Loading...
/trunk/trac/ticket/query.py Diff Switch to side-by-side view
Loading...