Modify ↓
Opened 17 years ago
Closed 17 years ago
#6842 closed enhancement (worksforme)
Add an option to support what fields should be displayed when using TicketQuery
Reported by: | Owned by: | Christian Boos | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | wiki system | Version: | devel |
Severity: | normal | Keywords: | |
Cc: | ilias@… | Branch: | |
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
We recently had some requests from our management team to have the ability to specify the field names when using the TicketQuery macro. Right now it appears that the table is fixed and we cannot specify any of the fields. My request is to add a new option when using table mode to all the users to select the fields.
Example
[[TicketQuery(id=1, format=table, fields=id|status|description|customfield)]] }}
Attachments (0)
Change History (2)
comment:1 by , 17 years ago
Cc: | added |
---|
comment:2 by , 17 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Thanks this is exactely what we are looking for. This option works perfectly.
Note:
See TracTickets
for help on using tickets.
With trac 0.11 you could use
If you use 0.10 or if you like to have predefined sets of fields, you could use this custom code (plugin, not sure if it works with 0.10):
http://dev.lazaridis.com/base/browser/infra/tracx/tracx/query.py
further information within
http://dev.lazaridis.com/base/wiki/PlanTicketQueryMacro
and within ticket #4005