From b2717a0267f68454605ea9551f780e913317a821 Mon Sep 17 00:00:00 2001 From: mjkhan21 Date: Fri, 12 Jul 2024 09:38:28 +0900 Subject: [PATCH] =?UTF-8?q?DatasetControl.reload()=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/webapp/resources/js/base/dataset.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);