diff --git a/resources/views/menus/index.blade.php b/resources/views/menus/index.blade.php index a2a2f627..3f4d46d2 100644 --- a/resources/views/menus/index.blade.php +++ b/resources/views/menus/index.blade.php @@ -89,8 +89,8 @@ class="bg-gray-800 hover:bg-gray-900 text-white px-4 py-2 rounded-lg transition
- - + + @@ -143,7 +143,7 @@ function getCookieValue(name) { // 즉시 hidden input 업데이트 시도 const perPageInput = document.getElementById('perPageInput'); if (perPageInput) { - const savedPerPage = getCookieValue('pagination_per_page') || '10'; + const savedPerPage = getCookieValue('pagination_per_page') || '500'; perPageInput.value = savedPerPage; } @@ -151,7 +151,7 @@ function getCookieValue(name) { document.addEventListener('htmx:configRequest', function(evt) { // menu-table 관련 요청인 경우에만 처리 if (evt.detail.elt && evt.detail.elt.id === 'menu-table') { - const savedPerPage = getCookieValue('pagination_per_page') || '10'; + const savedPerPage = getCookieValue('pagination_per_page') || '500'; // 요청 파라미터에 per_page 값 설정/덮어쓰기 evt.detail.parameters['per_page'] = savedPerPage; }