[[PageOutline(2-5,Contents,pullout)]] = Default query columns = == Description == 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 [trac:#10425]. == Bugs/Feature Requests == Existing bugs and feature requests for DefaultColsPlugin are [report:9?COMPONENT=DefaultColsPlugin here]. If you have any issues, create a [http://trac-hacks.org/newticket?component=DefaultColsPlugin&owner=shesek new ticket]. == Source == Source is hosted on Github as a Gist repository, at https://gist.github.com/1923150. == Installation == * `cd /path/to/plugins/directory; wget https://raw.github.com/gist/1923150/defaultcols.py` * Add `defaultcols.* = enabled` to trac.ini [components] section (or enable via the web admin) * Add `default_cols = list, of, fields` to trac.ini [query] section == Example == [query] default_cols = type, status, sprint, milestone, priority, summary, owner, estimatedhours == Author/Contributors == '''Author:''' [wiki:shesek] [[BR]] '''Maintainer:''' [wiki:shesek] [[BR]] '''Contributors:'''