set default length for XLS data export to -1

1 parent 884eca57
......@@ -708,6 +708,7 @@ class BaseView(object):
# return response.write(output.read())
def xls_data(self, **kwargs):
self.req.GET["length"] = "-1"
resp = self.get_list(**kwargs)
data = resp.get("data", [])
if not data:
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!