FO 공지사항 수정

This commit is contained in:
주수현
2025-07-15 16:35:59 +09:00
parent aa1e5dc21c
commit 9296dd4575
2 changed files with 2 additions and 7 deletions

View File

@@ -6,7 +6,7 @@
*/ */
function goPageable(page, size, orderBy, orderDir) { function goPageable(page, size, orderBy, orderDir) {
let uri = new Uri(location.href); let uri = new Uri(location.href);
uri.replaceQueryParam('pageNumber', page).replaceQueryParam('pageSize', size) uri.replaceQueryParam('page', page).replaceQueryParam('pageSize', size)
.replaceQueryParam('orderBy', orderBy).replaceQueryParam('orderDir', .replaceQueryParam('orderBy', orderBy).replaceQueryParam('orderDir',
orderDir); orderDir);

View File

@@ -113,15 +113,10 @@
*/ */
goSearch() { goSearch() {
const f = document.reqForm; const f = document.reqForm;
f.page.value = 0;
f.searchField.value = document.getElementById('searchFieldId').value; f.searchField.value = document.getElementById('searchFieldId').value;
f.submit(); f.submit();
}, },
goPageable(page, size, sort) {
const f = document.reqForm;
f.page.value = page;
f.submit();
}
} }
</script> </script>