diff --git a/src/main/webapp/resources/js/base/dataset.js b/src/main/webapp/resources/js/base/dataset.js index 0433515..7bffba0 100644 --- a/src/main/webapp/resources/js/base/dataset.js +++ b/src/main/webapp/resources/js/base/dataset.js @@ -1339,7 +1339,7 @@ class DatasetControl { this._load(option); } else { let query = Object.assign({}, this.query); - this.query.fetchSize = this.dataset.length; + this.query.fetchSize = (query.pageNum || 1) * query.fetchSize; this.query.pageNum = 1; option.callback = () => {this.query = query;}; this._load(option);