커뮤니티 게시물 댓글 정렬 - 등록 내림차순으로 수정
This commit is contained in:
parent
e090a2fe7a
commit
7204233663
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue