From 72042336639cffbac1cde3fb378a94a1a760fded Mon Sep 17 00:00:00 2001 From: Klaus Date: Wed, 20 Dec 2023 03:18:19 +0900 Subject: [PATCH] =?UTF-8?q?=EC=BB=A4=EB=AE=A4=EB=8B=88=ED=8B=B0=20?= =?UTF-8?q?=EA=B2=8C=EC=8B=9C=EB=AC=BC=20=EB=8C=93=EA=B8=80=20=EC=A0=95?= =?UTF-8?q?=EB=A0=AC=20-=20=EB=93=B1=EB=A1=9D=20=EB=82=B4=EB=A6=BC?= =?UTF-8?q?=EC=B0=A8=EC=88=9C=EC=9C=BC=EB=A1=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../explorer/profile/creatorCommunity/CreatorCommunityService.kt | 1 - .../comment/CreatorCommunityCommentRepository.kt | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/kr/co/vividnext/sodalive/explorer/profile/creatorCommunity/CreatorCommunityService.kt b/src/main/kotlin/kr/co/vividnext/sodalive/explorer/profile/creatorCommunity/CreatorCommunityService.kt index 8335f82..b69fd08 100644 --- a/src/main/kotlin/kr/co/vividnext/sodalive/explorer/profile/creatorCommunity/CreatorCommunityService.kt +++ b/src/main/kotlin/kr/co/vividnext/sodalive/explorer/profile/creatorCommunity/CreatorCommunityService.kt @@ -272,7 +272,6 @@ class CreatorCommunityService( ) val totalCount = commentRepository.totalCountCommentByPostId(postId = postId) - return GetCommunityPostCommentListResponse(totalCount = totalCount, items = commentList) } } diff --git a/src/main/kotlin/kr/co/vividnext/sodalive/explorer/profile/creatorCommunity/comment/CreatorCommunityCommentRepository.kt b/src/main/kotlin/kr/co/vividnext/sodalive/explorer/profile/creatorCommunity/comment/CreatorCommunityCommentRepository.kt index ccd52bf..265d9d1 100644 --- a/src/main/kotlin/kr/co/vividnext/sodalive/explorer/profile/creatorCommunity/comment/CreatorCommunityCommentRepository.kt +++ b/src/main/kotlin/kr/co/vividnext/sodalive/explorer/profile/creatorCommunity/comment/CreatorCommunityCommentRepository.kt @@ -41,6 +41,7 @@ class CreatorCommunityCommentQueryRepositoryImpl( ) .offset(offset) .limit(limit) + .orderBy(creatorCommunityComment.createdAt.desc()) .fetch() .asSequence() .map {