|Version 6 (modified by 5 years ago) (diff),|
Default query columns
A tiny plugin to add an
default_cols option to set the columns to display be default on query pages. This is very hacky (uses
post_process_request to modify the
col query string argument), but works. Adding this functionality to core is being worked on at #10425.
If you have any issues, create a new ticket.
Source is hosted on Github as a Gist repository, at https://gist.github.com/1923150.
cd /path/to/plugins/directory; wget https://raw.github.com/gist/1923150/defaultcols.py
defaultcols.* = enabledto trac.ini [components] section (or enable via the web admin)
default_cols = list, of, fieldsto trac.ini [query] section
[query] default_cols = type, status, sprint, milestone, priority, summary, owner, estimatedhours