web/views/csvexport.py
changeset 10046 96f5ca0a86e5
parent 9977 e48e5a597ccc
child 10609 e2d8e81bfe68
--- a/web/views/csvexport.py	Mon Oct 06 10:34:38 2014 +0200
+++ b/web/views/csvexport.py	Mon Nov 24 14:43:28 2014 +0100
@@ -21,7 +21,7 @@
 _ = unicode
 
 from cubicweb.schema import display_name
-from cubicweb.predicates import any_rset
+from cubicweb.predicates import any_rset, empty_rset
 from cubicweb.uilib import UnicodeCSVWriter
 from cubicweb.view import EntityView, AnyRsetView
 
@@ -80,7 +80,7 @@
     contents)
     """
     __regid__ = 'ecsvexport'
-    __select__ = any_rset()
+    __select__ = EntityView.__select__ | empty_rset()
     title = _('csv export (entities)')
 
     def call(self):