In Subtickets plugin, I find:
def filter_stream(self, req, method, filename, stream, data):
....
href = req.href.query(status='!
closed',
owner=ticket['owner'])
and I want to change the link that is created. Immediately, I want it
to go to a report:
href = somefunc("report/99?USER=%s" %
ticket['owner'])
Ideally, the first string in there would be configurable. But I can't
find what req or req.href is or what other methods or properties it
has. Maybe this is as simple as
href = req.href.url("/report/99/USER=
%s" % ticket['owner'])
But I don't know if there is such a function. I've poked at Trac and
Genshi web sites and sample and Googled lots of terms and haven't
found an answer.
TIA.
Chris
--
You received this message because you are subscribed to the Google Groups "Trac
Development" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/trac-dev?hl=en.