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"]); } }