fix AddKeywordVComponent selectors
authorAdrien Di Mascio <Adrien.DiMascio@logilab.fr>
Wed, 20 May 2009 23:47:25 +0200
changeset 32 dcc0c2946704
parent 31 7e44b20cfdcd
child 33 ae914aa94c2f
child 40 7fb387f79e7d
fix AddKeywordVComponent selectors
views.py
--- a/views.py	Mon May 18 11:07:45 2009 +0200
+++ b/views.py	Wed May 20 23:47:25 2009 +0200
@@ -99,7 +99,7 @@
 
 class AddKeywordVComponent(component.EntityVComponent):
     """the 'add keyword' component"""
-    __select__ = rql_condition('X is ET, CL classifies ET')
+    __select__ = component.EntityVComponent.__select__ & rql_condition('X is ET, CL classifies ET')
 
     id = 'addkeywords'
     etype = 'Keyword'