Ticket #1467 (closed enhancement: fixed)
Custom Query should support a dynamic $USER variable
| Reported by: | muti@… | Owned by: | osimons |
|---|---|---|---|
| Priority: | low | Milestone: | 0.11.1 |
| Component: | report system | Version: | devel |
| Severity: | normal | Keywords: | custom query user |
| Cc: | muti@…, sdyson@… |
Description
I'm making the custom query module the default for View Tickets and am moving a list of reports to the Wiki using query: syntax. One limitation so far is that there is no support for a "My Tickets" query:. The attached patch allows $USER replacement with the active user so that query?status=new&status=assigned&status=reopened&owner=$USER will show all tickets owned by the user clicking the link.
It will also work with multiple users, i.e. query?owner=$USER&owner=joeblow, and the is not restriction, i.e. query?owner=!$USER.


