add _rql_condition selector to default EntityBox selectors
authorSylvain Thenault <sylvain.thenault@logilab.fr>
Fri, 05 Dec 2008 18:05:34 +0100
changeset 175 5c7bb5f1ede0
parent 174 a2966960d550
child 176 312024cbe717
add _rql_condition selector to default EntityBox selectors
web/box.py
--- a/web/box.py	Fri Dec 05 18:05:09 2008 +0100
+++ b/web/box.py	Fri Dec 05 18:05:34 2008 +0100
@@ -14,8 +14,9 @@
                                       extresources_registerer,
                                       etype_rtype_priority_registerer)
 from cubicweb.common.selectors import (etype_rtype_selector, onelinerset_selector,
-                                    accept_selector, accept_rtype_selector,
-                                    primaryview_selector, contextprop_selector)
+                                       accept_selector, accept_rtype_selector,
+                                       primaryview_selector, contextprop_selector,
+                                       _rqlcondition_selector)
 from cubicweb.common.view import Template
 from cubicweb.common.appobject import ReloadableMixIn
 
@@ -151,7 +152,8 @@
     __registerer__ = accepts_registerer
     __selectors__ = (onelinerset_selector, primaryview_selector,
                      contextprop_selector, etype_rtype_selector,
-                     accept_rtype_selector, accept_selector)
+                     accept_rtype_selector, accept_selector,
+                     _rqlcondition_selector)
     accepts = ('Any',)
     context = 'incontext'