콘텐츠 전체 리스트

- 정렬 조건을 추가하여 콘텐츠가 중복으로 보이는 버그 수정
This commit is contained in:
Klaus 2024-01-29 17:53:29 +09:00
parent 653f1f8d58
commit 11dcb399f6
1 changed files with 1 additions and 1 deletions

View File

@ -185,7 +185,7 @@ class AudioContentQueryRepositoryImpl(private val queryFactory: JPAQueryFactory)
.where(where)
.offset(offset)
.limit(limit)
.orderBy(pinContent.isActive.desc(), pinContent.updatedAt.desc(), orderBy)
.orderBy(pinContent.isActive.desc(), pinContent.updatedAt.desc(), orderBy, audioContent.id.desc())
.fetch()
}