web/views/facets.py
changeset 4045 f4a52abb6f4f
parent 3720 5376aaadd16b
child 4252 6c4f109c2b03
--- a/web/views/facets.py	Tue Dec 08 16:46:56 2009 +0100
+++ b/web/views/facets.py	Tue Dec 08 16:50:36 2009 +0100
@@ -102,7 +102,7 @@
             rqlst.recover()
 
     def display_bookmark_link(self, rset):
-        eschema = self._cw.schema.eschema('Bookmark')
+        eschema = self._cw.vreg.schema.eschema('Bookmark')
         if eschema.has_perm(self._cw, 'add'):
             bk_path = 'view?rql=%s' % rset.printable_rql()
             bk_title = self._cw._('my custom search')