Add columns with default values to query output


This plugin adds a default_cols option to set the columns to display be default on query pages. This is bad coding practice, because it uses post_process_request to modify the col query string argument, but works. Adding this functionality to core is being worked on at #10425.

A sample configuration in your trac.ini file would look as follows:

default_cols = type, status, sprint, milestone, priority, summary, owner, estimatedhours

Bugs/Feature Requests

Existing bugs and feature requests for DefaultColsPlugin are here.

If you have any issues, create a new ticket.


Source is hosted on Github as a Gist repository, at


  • Run cd /path/to/plugins/directory; wget
  • Add defaultcols.* = enabled to your trac.ini file's [components] section or enable the plugin via the web admin.
  • Add default_cols = list, of, fields to trac.ini [query] section.


Author: shesek
Maintainer: HumanInternals

Last modified 7 years ago Last modified on Mar 24, 2017, 8:38:59 PM