[[PageOutline(2-5,Contents,pullout)]] = Display links to queries in ticket summary = {{{#!box warn **Notice:** This plugin is deprecated. The functionality of this plugin has been integrated to the Trac core in trac:#7562. }}} == Description == In vanilla trac, the Reporter, Owner, Priority, etc. in the ticket summary are displayed as text. The AutoQueryPlugin changes these to links to query strings. For instance, out of the box, clicking on the reporter name will result in a link like: {{{ #!sh http://127.0.0.1:14828/testproject/query?reporter=k0s&order=priority }}} The end part of the query string ({{{&order=priority}}}) is configurable in the .ini file. The intent of this plugin is to make finding like tickets easier and to take advantage of the fact that these text items aren't links to something interesting and could be. This plugin overrides the ticket.html template to do this. Ideally, this wouldn't have to be done, but it was the easiest solution to the problem. == Configuration Options == The AutoQueryPlugin supports two options in the {{{[Autoquery]}}} section of the trac.ini file (also configurable with the IniAdminPlugin). The relevant section with the option defaults would look like this: {{{ #!ini [autoquery] query_args = &order=priority excluded_fields = estimatedhours, hours, totalhours }}} These options are as follows: * {{{query_args}}}: additional argument string to append to the query url (''in the event the patch from #3226 is included in trac core, this string will be taken from the {{{default_anonymous_query}}} option in {{{[query]}}}'') * {{{excluded_fields}}}: fields not to mark as links using the AutoQueryPlugin; the defaults are to prevent conflicts with the TimingAndEstimationPlugin, which alters these fields with javascript == Bugs/Feature Requests == Existing bugs and feature requests for AutoQueryPlugin are [query:status!=closed&component=AutoQueryPlugin&order=priority here]. If you have any issues, create a [/newticket?component=AutoQueryPlugin new ticket]. == Download and Source == Download the [export:autoqueryplugin zipped source], check out [/svn/autoqueryplugin using Subversion], or [source:autoqueryplugin browse the source] with Trac. == Example == After installing, usage should be straight forward. The text fields in the ticket badge will become links to queries. This can be seen in the openplans trac instance. For instance: http://trac.openplans.org/openplans/ticket/1097 [[Image(autoquery.png)]] == Recent Changes == [[ChangeLog(autoqueryplugin, 3)]] == Author/Contributors == ''originally developed at [http://www.openplans.org The Open Planning Project]'' '''Author:''' [wiki:k0s] [[BR]] '''Maintainer:''' ''none'' [[BR]] '''Contributors:'''