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