Modify ↓
#2604 closed defect (fixed)
fetching a ticket by list of ids in TicketQuery
Reported by: | Karlina | Owned by: | Christian Boos |
---|---|---|---|
Priority: | normal | Milestone: | 0.11 |
Component: | report system | Version: | 0.9.2 |
Severity: | trivial | Keywords: | query |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
Seems the existing TicketQuery macro cannot display a ticket by its ticket number. I was trying
[[TicketQuery(id=1)]]
and it didn't show anything, no error either.
Attachments (0)
Change History (5)
comment:1 by , 18 years ago
comment:2 by , 18 years ago
Milestone: | → 0.11 |
---|---|
Owner: | changed from | to
Severity: | minor → trivial |
Summary: | fetching a ticket by id in TicketQuery → fetching a ticket by list of ids in TicketQuery |
This makes sense for lists of ticket ids, though.
I want to implement this anyway by extending the TracLinks syntax for ticket ids,
e.g. #12,23,34
(see #3011), so it would cost nothing to add that to the TicketQuery macro, which additionally will give you the ability to add constraints (set the order, group, …) and to specify an output format for such lists.
comment:5 by , 17 years ago
Component: | wiki → report system |
---|---|
Keywords: | query added |
Note:
See TracTickets
for help on using tickets.
It seems to me that if you already know the ticket id, there is no need to search for it… proposing a wontfix resolution for this.