[facets] typo fix
authorAdrien Di Mascio <Adrien.DiMascio@logilab.fr>
Wed, 23 Sep 2009 20:12:48 +0200
changeset 3456 1a63a252601f
parent 3455 a0a252643227
child 3457 0924d0d08d60
[facets] typo fix
web/facet.py
--- 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._