콘텐츠 리스트 - 정렬 조건 추가
This commit is contained in:
parent
a6a279837d
commit
d3ffa1d40a
|
@ -194,7 +194,13 @@ class AudioContentQueryRepositoryImpl(private val queryFactory: JPAQueryFactory)
|
|||
.where(where)
|
||||
.offset(offset)
|
||||
.limit(limit)
|
||||
.orderBy(pinContent.isActive.desc(), pinContent.updatedAt.desc(), orderBy, audioContent.id.desc())
|
||||
.orderBy(
|
||||
pinContent.isActive.desc(),
|
||||
pinContent.updatedAt.desc(),
|
||||
orderBy,
|
||||
audioContent.updatedAt.desc(),
|
||||
audioContent.id.desc()
|
||||
)
|
||||
.fetch()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue