web/facet.py
changeset 3456 1a63a252601f
parent 3451 6b46d73823f5
child 3720 5376aaadd16b
--- a/web/facet.py	Wed Sep 23 19:43:00 2009 +0200
+++ b/web/facet.py	Wed Sep 23 20:12:48 2009 +0200
@@ -383,7 +383,7 @@
                 return ()
         finally:
             rqlst.recover()
-        return self.cw_rset_vocabulary(rset)
+        return self.rset_vocabulary(rset)
 
     def possible_values(self):
         """return a list of possible values (as string since it's used to
@@ -410,7 +410,7 @@
 
     @cached
     def support_and(self):
-        rschema = self.schema.rschema(self.rtype)
+        rschema = self._cw.vreg.schema.rschema(self.rtype)
         if self.role == 'subject':
             cardidx = 0
         else:
@@ -476,7 +476,7 @@
                 return ()
         finally:
             rqlst.recover()
-        return self.cw_rset_vocabulary(rset)
+        return self.rset_vocabulary(rset)
 
     def rset_vocabulary(self, rset):
         _ = self._cw._