--- a/web/views/bookmark.py Mon Oct 19 14:42:52 2009 +0200
+++ b/web/views/bookmark.py Mon Oct 19 14:43:14 2009 +0200
@@ -10,7 +10,7 @@
from logilab.mtconverter import xml_escape
from cubicweb import Unauthorized
-from cubicweb.selectors import implements
+from cubicweb.selectors import implements, one_line_rset
from cubicweb.web.htmlwidgets import BoxWidget, BoxMenu, RawBoxItem
from cubicweb.web import action, box, uicfg
from cubicweb.web.views import primary
@@ -21,7 +21,7 @@
class FollowAction(action.Action):
id = 'follow'
- __select__ = implements('Bookmark')
+ __select__ = one_line_rset() & implements('Bookmark')
title = _('follow')
category = 'mainactions'