From 155406fd873680a8059de046aff651711875950d Mon Sep 17 00:00:00 2001 From: DongGeon Lee <71763322+himodu@users.noreply.github.com> Date: Mon, 20 May 2024 15:47:29 +0900 Subject: [PATCH] [MODIFY] getComment perpage modify - getComment perpage modify --- .../KNUfest/domain/comment/service/CommentServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/LlikelionKNU/KNUfest/domain/comment/service/CommentServiceImpl.java b/src/main/java/LlikelionKNU/KNUfest/domain/comment/service/CommentServiceImpl.java index 9d4a4e7..50a2bfe 100644 --- a/src/main/java/LlikelionKNU/KNUfest/domain/comment/service/CommentServiceImpl.java +++ b/src/main/java/LlikelionKNU/KNUfest/domain/comment/service/CommentServiceImpl.java @@ -42,7 +42,7 @@ public List getCommentPage(int boothNum, String categori, int page, Str int offset = (page-1) * 5; - comments = commentRepository.findAllOrderByIdDESC(booth.getId(), 5, offset); + comments = commentRepository.findAllOrderByIdDESC(booth.getId(), 20, offset); if(!comments.isEmpty()) { for (CommentEntity c : comments) {