web/views/tabs.py
branchtls-sprint
changeset 838 f2c56312b03a
parent 782 01801a10c567
child 885 b101d2ae80b4
--- a/web/views/tabs.py	Wed Feb 18 22:37:13 2009 +0100
+++ b/web/views/tabs.py	Wed Feb 18 23:11:01 2009 +0100
@@ -11,7 +11,7 @@
 from logilab.mtconverter import html_escape
 
 from cubicweb import NoSelectableObject, role
-from cubicweb.selectors import abstract_has_related_entities
+from cubicweb.selectors import partial_has_related_entities
 from cubicweb.common.view import EntityView
 from cubicweb.common.utils import HTMLHead
 from cubicweb.common.uilib import rql_for_eid
@@ -143,7 +143,7 @@
     class ProjectScreenshotTab(DataDependantTab, ProjectScreenshotsView):
         id = 'screenshots_tab'
     """
-    __select__ = EntityView.__select__ & abstract_has_related_entities()
+    __select__ = EntityView.__select__ & partial_has_related_entities()
                                                           
     vid = 'list'