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(); - } }