Version 7 (modified by Cole Markham, 7 years ago) (diff)


Saved queries using Google Gears


Adds the ability to save queries using javascript and Google Gears on a user's computer. Adds a drop-down menu of saved queries to the "View Tickets" button on the toolbar.


  • Only tested with the default theme on 0.10
    • Tested on 0.11.4 as well
  • Requires Google Gears and stores the saved queries on the local computer only
  • Manual installation required
  • Only works with the Query module
    • Requires the Reports module to be disabled so that the "View Tickets" tab points to the query module


  1. Add the included javascript files to a web-accessible directory (e.g. /var/www/trac_include)
  2. Edit the query.cs site.html template (%PYTHON%/share/trac/templates/query.cs)(<environment>/templates/site.html) and add <script> tags for the two files
    <script type="text/javascript" src="/trac_include/gears_init.js"></script>
    <script type="text/javascript" src="/trac_include/savedqueries.js"></script>

Bugs/Feature Requests

Existing bugs and feature requests for SavedQueriesScript are here.

If you have any issues, create a new ticket.


Download the zipped source from [download:savedqueriesscript here].


You can check out SavedQueriesScript from here using Subversion, or browse the source with Trac.



Recent Changes

4873 by markhamc on 2008-11-25 17:26:10
Initial import
4872 by markhamc on 2008-11-25 17:09:28
New hack SavedQueriesScript, created by markhamc


Author: markhamc

Attachments (3)

Download all attachments as: .zip