diff --git a/src/main/webapp/resources/js/base/dataset.js b/src/main/webapp/resources/js/base/dataset.js index 47479e34..12a81872 100644 --- a/src/main/webapp/resources/js/base/dataset.js +++ b/src/main/webapp/resources/js/base/dataset.js @@ -1289,6 +1289,9 @@ class DatasetControl { } download(type) { + if (!this.query.pageNum) + this.query.pageNum = 1; + this.query.download = type || "xls"; let query = toQuery(this.query); this.query.download = null;