summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c784dbf)
raw | patch | inline | side by side (parent: c784dbf)
author | stefan <stefan@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Thu, 19 Feb 2009 21:46:12 +0000 (21:46 +0000) | ||
committer | stefan <stefan@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Thu, 19 Feb 2009 21:46:12 +0000 (21:46 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4143 57a73879-2fb5-44c3-a270-3262357dd7e2
roundup/cgi/templating.py | patch | blob | history |
index 12120e916e5b5a836d75dcb929cf0dc8fcb94f9b..36a0d916a54f7d58f3c37ebb80293846d32db05d 100644 (file)
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))