From 9296dd4575c4eb20c09428797a9cc3707af298a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=A3=BC=EC=88=98=ED=98=84?= Date: Tue, 15 Jul 2025 16:35:59 +0900 Subject: [PATCH] =?UTF-8?q?FO=20=EA=B3=B5=EC=A7=80=EC=82=AC=ED=95=AD=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- front/src/main/resources/static/ui/uiUtil.js | 2 +- .../src/main/resources/templates/info/notice/notices.html | 7 +------ 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/front/src/main/resources/static/ui/uiUtil.js b/front/src/main/resources/static/ui/uiUtil.js index 14f766d6..ba2b121d 100644 --- a/front/src/main/resources/static/ui/uiUtil.js +++ b/front/src/main/resources/static/ui/uiUtil.js @@ -6,7 +6,7 @@ */ function goPageable(page, size, orderBy, orderDir) { 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', orderDir); diff --git a/front/src/main/resources/templates/info/notice/notices.html b/front/src/main/resources/templates/info/notice/notices.html index 855484a1..0bf5ee93 100644 --- a/front/src/main/resources/templates/info/notice/notices.html +++ b/front/src/main/resources/templates/info/notice/notices.html @@ -113,15 +113,10 @@ */ goSearch() { const f = document.reqForm; - + f.page.value = 0; f.searchField.value = document.getElementById('searchFieldId').value; f.submit(); }, - goPageable(page, size, sort) { - const f = document.reqForm; - f.page.value = page; - f.submit(); - } }