커뮤니티 게시물 댓글 정렬 - 등록 내림차순으로 수정
This commit is contained in:
@@ -272,7 +272,6 @@ class CreatorCommunityService(
|
|||||||
)
|
)
|
||||||
|
|
||||||
val totalCount = commentRepository.totalCountCommentByPostId(postId = postId)
|
val totalCount = commentRepository.totalCountCommentByPostId(postId = postId)
|
||||||
|
|
||||||
return GetCommunityPostCommentListResponse(totalCount = totalCount, items = commentList)
|
return GetCommunityPostCommentListResponse(totalCount = totalCount, items = commentList)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -41,6 +41,7 @@ class CreatorCommunityCommentQueryRepositoryImpl(
|
|||||||
)
|
)
|
||||||
.offset(offset)
|
.offset(offset)
|
||||||
.limit(limit)
|
.limit(limit)
|
||||||
|
.orderBy(creatorCommunityComment.createdAt.desc())
|
||||||
.fetch()
|
.fetch()
|
||||||
.asSequence()
|
.asSequence()
|
||||||
.map {
|
.map {
|
||||||
|
Reference in New Issue
Block a user