summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d0a5d2e)
raw | patch | inline | side by side (parent: d0a5d2e)
author | stefan <stefan@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Fri, 20 Feb 2009 04:02:38 +0000 (04:02 +0000) | ||
committer | stefan <stefan@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Fri, 20 Feb 2009 04:02:38 +0000 (04:02 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4149 57a73879-2fb5-44c3-a270-3262357dd7e2
roundup/cgi/templating.py | patch | blob | history |
index 4fc6e5dd90dc7a4ea0694542acdc9c46e78324f0..772ad61af69365bba24eada56d4fba541c5bf297 100644 (file)
# new template, using the specified classname and request
pt = self._client.instance.templates.get(req.classname, 'search')
-
+ # The context for a search page should be the class, not any
+ # node.
+ self._client.nodeid = None
+
# use our fabricated request
return pt.render(self._client, req.classname, req)