|
|
|
@@ -147,6 +147,7 @@ function displayResult(tableName,page,jsonResult,onlyReturnNum,keyword){ |
|
|
|
console.log("set total num." + tableName); |
|
|
|
totalPage =Math.ceil(jsonResult.Total/pageSize); |
|
|
|
totalNum = jsonResult.Total; |
|
|
|
setPage(page); |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
@@ -528,7 +529,7 @@ function page(current){ |
|
|
|
//function doSearch(tableName,keyword,page,pageSize=15,onlyReturnNum=true,sortBy="",OnlySearchLabel=false){ |
|
|
|
currentPage=current; |
|
|
|
doSearch(currentSearchTableName,currentSearchKeyword,current,pageSize,false,currentSearchSortBy,OnlySearchLabel); |
|
|
|
setPage(currentPage); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
function nextPage(){ |
|
|
|
|