크리에이터 관리자 카테고리 콘텐츠 리스트
- 페이징 처리, 정렬순서 최근에 추가한 콘텐츠가 먼저 나오도록 수정
This commit is contained in:
parent
ebb969c039
commit
113d29fab0
|
@ -71,6 +71,9 @@ class CreatorAdminCategoryRepository(private val queryFactory: JPAQueryFactory)
|
|||
.and(audioContent.member.id.eq(memberId))
|
||||
.and(audioContent.isActive.isTrue.or(audioContent.releaseDate.isNotNull))
|
||||
)
|
||||
.orderBy(categoryContent.updatedAt.desc())
|
||||
.offset(offset)
|
||||
.limit(limit)
|
||||
.fetch()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue