missing selectors, no more need for relation_possible when using has_related_entities (implied) tls-sprint
authorsylvain.thenault@logilab.fr
Fri, 20 Feb 2009 01:48:38 +0100
branchtls-sprint
changeset 883 44f1aba675de
parent 882 75488a2a875e
child 884 969c16600fb3
missing selectors, no more need for relation_possible when using has_related_entities (implied)
web/component.py
--- a/web/component.py	Fri Feb 20 01:48:06 2009 +0100
+++ b/web/component.py	Fri Feb 20 01:48:38 2009 +0100
@@ -142,7 +142,7 @@
 
 class RelatedObjectsVComponent(EntityVComponent):
     """a section to display some related entities"""
-    __select__ = partial_relation_possible() & partial_has_related_entities()
+    __select__ = EntityVComponent.__select__ & partial_has_related_entities()
     
     vid = 'list'