From 1a609217d76d765e52426f11a3d61bd2d71e018d Mon Sep 17 00:00:00 2001 From: richard Date: Wed, 16 Oct 2002 06:44:29 +0000 Subject: [PATCH] include queryname in query template render ;) git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1357 57a73879-2fb5-44c3-a270-3262357dd7e2 --- roundup/cgi/templating.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/roundup/cgi/templating.py b/roundup/cgi/templating.py index e7802dc..b175410 100644 --- a/roundup/cgi/templating.py +++ b/roundup/cgi/templating.py @@ -662,7 +662,9 @@ class HTMLItem(HTMLPermissions): # create a new request and override the specified args req = HTMLRequest(self._client) req.classname = self._klass.get(self._nodeid, 'klass') - req.updateFromURL(self._klass.get(self._nodeid, 'url')) + name = self._klass.get(self._nodeid, 'name') + req.updateFromURL(self._klass.get(self._nodeid, 'url') + + '&:queryname=%s'%urllib.quote(name)) # new template, using the specified classname and request pt = Templates(self._db.config.TEMPLATES).get(req.classname, 'search') -- 2.30.2