sort 및 페이징

This commit is contained in:
focp212@naver.com
2025-10-24 16:28:32 +09:00
parent 3a9c480f7a
commit c0c983be1a
6 changed files with 57 additions and 74 deletions

View File

@@ -59,9 +59,7 @@ export const FaqListPage = () => {
category: selectedCategory,
searchCl: (!!searchValue)? SearchCl.HEAD: null,
searchValue: searchValue,
...{
page: pageParam
}
page: pageParam
};
if(type !== 'page' && listParams.page){
listParams.page.cursor = null;

View File

@@ -54,13 +54,12 @@ export const NoticeListPage = () => {
});
const callList = (type?: string) => {
setOnActionIntersect(false);
let listParams: NoticeListParams = {
informCl: informCl,
searchCl: (!!searchKeyword)? SearchCl.HEAD: null,
searchKeyword: searchKeyword,
...{
page: pageParam
}
page: pageParam
};
if(type !== 'page' && listParams.page){
listParams.page.cursor = null;
@@ -86,7 +85,7 @@ export const NoticeListPage = () => {
else{
setPageParam({
...pageParam,
...{ cursor: rs.nextCursor }
...{ cursor: null }
});
}
});

View File

@@ -59,9 +59,7 @@ export const QnaListPage = () => {
let listParams: QnaListParams = {
mid: mid,
statusCode: statusCode,
...{
page: pageParam
}
page: pageParam
};
if(type !== 'page'){
if(listParams.page){