web/views/facets.py
branchstable
changeset 2323 017bc7d7552d
parent 2283 dc13ec07a70a
child 2325 363b66a15668
child 2337 6620e5abcd99
--- a/web/views/facets.py	Mon Jul 06 17:57:09 2009 +0200
+++ b/web/views/facets.py	Tue Jul 07 11:13:09 2009 +0200
@@ -82,7 +82,8 @@
                         widgets.append(wdg)
             if not widgets:
                 return
-            self.displayBookmarkLink(rset)
+            if self.bkLinkBox_template:
+                self.displayBookmarkLink(rset)
             w = self.w
             w(u'<form method="post" id="%sForm" cubicweb:facetargs="%s" action="">'  % (
                 divid, html_escape(dumps([divid, vid, paginate, self.facetargs()]))))