On 25/06/2013 3:44am, Robin Pellatt wrote:
You can put something like this in your trac ini file to build up a
query on the fly:

[mainnav]
tickets.href = /query?priority=blocker

I tried all sorts of things in [mainnav] tickets.href yesterday but got distracted by the discussion in a couple of tickets about enabling reports to get the save button etc etc. Anyway, we are now comfortably back on the rails with [query] default_anonymous_query and default_query

Thank you

Mike



See documentation here: http://trac.edgewall.org/wiki/TracNavigation.
  The example given is for reports, but the above also works.


Regards,
Robin


On 24 June 2013 15:56, Mike Dewhirst <[email protected]
<mailto:[email protected]>> wrote:

    How can I adjust the default query (not report) which runs when
    *anyone* clicks the View Tickets link?

    I have tried a few things and discovered a number of Trac tickets
    discussing this but nothing definitive.

    Is it possible to tweak the default?

    I'm running Trac 1.01 with Python 2.7 on Ubuntu 12.04 with the
    report module disabled.

    Thanks

    Mike

    --
    You received this message because you are subscribed to the Google
    Groups "Trac Users" group.
    To unsubscribe from this group and stop receiving emails from it,
    send an email to trac-users+unsubscribe@__googlegroups.com
    <mailto:trac-users%[email protected]>.
    To post to this group, send email to [email protected]
    <mailto:[email protected]>.
    Visit this group at http://groups.google.com/__group/trac-users
    <http://groups.google.com/group/trac-users>.
    For more options, visit https://groups.google.com/__groups/opt_out
    <https://groups.google.com/groups/opt_out>.



--
You received this message because you are subscribed to the Google
Groups "Trac Users" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/groups/opt_out.



--
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to