From 0b6bfe00d895c1dd960e96bdb840ba3bb9b39b1f Mon Sep 17 00:00:00 2001 From: leebeomjun Date: Wed, 14 Jun 2023 18:23:55 +0900 Subject: [PATCH] =?UTF-8?q?=ED=8E=98=EC=9D=B4=EC=A7=95=20=EC=B2=98?= =?UTF-8?q?=EB=A6=AC=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-fims.js | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/src/main/webapp/resources/js/base/dataset-fims.js b/src/main/webapp/resources/js/base/dataset-fims.js index b741003a..3b8edec6 100644 --- a/src/main/webapp/resources/js/base/dataset-fims.js +++ b/src/main/webapp/resources/js/base/dataset-fims.js @@ -91,18 +91,15 @@ class FimsDatasetControl extends DatasetControl { _paginationInfo = { paging : true, pagingType : "nav", - pageNum : 1, fetchSize : 15, - scrollFuncName : null + scrollFuncName : null, + pageNum : 1 } totalCountSetting(obj){ if(document.getElementById('totCnt')){ - if(obj.data.pagination){ // 부분 조회 - $('#totCnt span').text(obj.data.pagination.totalSize); - }else{ // 전체 - $('#totCnt span').text(obj.count) - } + var prefix = obj.infoPrefix; + $('#totCnt span').text(obj[prefix+"Total"]); } }