From 43fc99b3a547edc97bdd777a74e76d438a4e836f Mon Sep 17 00:00:00 2001 From: stefan Date: Thu, 19 Feb 2009 21:46:12 +0000 Subject: [PATCH] Handle transitive properties. git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4143 57a73879-2fb5-44c3-a270-3262357dd7e2 --- roundup/cgi/templating.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roundup/cgi/templating.py b/roundup/cgi/templating.py index 12120e9..36a0d91 100644 --- a/roundup/cgi/templating.py +++ b/roundup/cgi/templating.py @@ -2429,10 +2429,10 @@ env: %(env)s if filter and self.filter: add(sc+'filter', ','.join(self.filter)) if self.classname and filterspec: - props = self.client.db.getclass(self.classname).getprops() + cls = self.client.db.getclass(self.classname) for k,v in self.filterspec.items(): if type(v) == type([]): - if isinstance(props[k], hyperdb.String): + if isinstance(cls.get_transitive_prop(k), hyperdb.String): add(k, ' '.join(v)) else: add(k, ','.join(v)) -- 2.30.2