web/facet.py
branchtls-sprint
changeset 838 f2c56312b03a
parent 782 01801a10c567
child 985 6a25c58a1c23
--- a/web/facet.py	Wed Feb 18 22:37:13 2009 +0100
+++ b/web/facet.py	Wed Feb 18 23:11:01 2009 +0100
@@ -19,7 +19,7 @@
 from rql import parse, nodes
 
 from cubicweb import Unauthorized, typed_eid
-from cubicweb.selectors import match_context_prop, abstract_relation_possible
+from cubicweb.selectors import match_context_prop, partial_relation_possible
 from cubicweb.appobject import AppRsetObject
 from cubicweb.common.registerers import priority_registerer
 from cubicweb.web.htmlwidgets import HTMLWidget
@@ -333,7 +333,7 @@
 
 
 class RelationFacet(VocabularyFacet):
-    __select__ = abstract_relation_possible() & match_context_prop()
+    __select__ = partial_relation_possible() & match_context_prop()
     # class attributes to configure the rel ation facet
     rtype = None
     role = 'subject'