F [adapted list view] fix selector
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Sun, 02 Aug 2009 11:55:53 +0200
changeset 2645 91c71276f999
parent 2644 100b81ba3a98
child 2646 d2874ddd4347
F [adapted list view] fix selector
web/views/baseviews.py
--- a/web/views/baseviews.py	Sun Aug 02 11:55:24 2009 +0200
+++ b/web/views/baseviews.py	Sun Aug 02 11:55:53 2009 +0200
@@ -288,7 +288,7 @@
 class AdaptedListView(EntityView):
     """list of entities of the same type"""
     id = 'adaptedlist'
-    __select__ = one_etype_rset()
+    __select__ = EntityView.__select__ & one_etype_rset()
     item_vid = 'adaptedlistitem'
 
     @property