From: richard Date: Wed, 16 Oct 2002 06:44:29 +0000 (+0000) Subject: include queryname in query template render ;) X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1a609217d76d765e52426f11a3d61bd2d71e018d;p=roundup.git include queryname in query template render ;) git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1357 57a73879-2fb5-44c3-a270-3262357dd7e2 --- 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')