Fix up URLs in query results that span multiple projects
When using the multi-project technique described at trac:TracMultipleProjects/MultipleEnvironmentsSingleDatabase#PossibleAlternative, the report will contain URLs for tickets (and wiki/browser/report, etc. links embedded inside tickets) that will point to the wrong places, unless you use something like this plugin to automatically fix them up.
This plugin is part of a more comprehensive multi-project solution described in detail at trac:TracMultipleProjects/ComprehensiveSolution
If you have any issues, create a new ticket.
Download the zipped source from here.
General instructions on installing Trac plugins can be found on the TracPlugins page.