web/facet.py
changeset 4089 ff92c7d692bf
parent 4087 2b8bc4cfd6ee
child 4252 6c4f109c2b03
--- a/web/facet.py	Wed Dec 09 17:10:01 2009 +0100
+++ b/web/facet.py	Wed Dec 09 17:48:04 2009 +0100
@@ -420,7 +420,7 @@
                         continue
                 elif not rdef.object in possibletypes:
                     continue
-            if rdef.role_cardinality(role) in '+*':
+            if rdef.role_cardinality(self.role) in '+*':
                 return True
         return False