--- a/web/views/json.py Wed Apr 30 21:04:14 2014 +0200
+++ b/web/views/json.py Tue Jun 17 17:53:31 2014 +0200
@@ -21,7 +21,7 @@
_ = unicode
from cubicweb.utils import json_dumps
-from cubicweb.predicates import any_rset
+from cubicweb.predicates import any_rset, empty_rset
from cubicweb.view import EntityView, AnyRsetView
from cubicweb.web.application import anonymized_request
from cubicweb.web.views import basecontrollers
@@ -106,6 +106,7 @@
- ``__cwetype__`` : entity type
"""
__regid__ = 'ejsonexport'
+ __select__ = EntityView.__select__ | empty_rset()
title = _('json-entities-export-view')
def call(self):