크리에이터 관리자 카테고리 콘텐츠 검색

- 검색 조건 수정
This commit is contained in:
Klaus 2024-02-07 09:38:52 +09:00
parent 3df0b1fcec
commit aea1f1889e
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,6 @@ class CreatorAdminCategoryRepository(private val queryFactory: JPAQueryFactory)
.leftJoin(categoryContent)
.on(
audioContent.id.eq(categoryContent.content.id)
.and(categoryContent.isActive.ne(true))
.and(categoryContent.category.id.eq(categoryId))
)
.where(
@ -27,6 +26,7 @@ class CreatorAdminCategoryRepository(private val queryFactory: JPAQueryFactory)
.and(audioContent.member.id.eq(memberId))
.and(audioContent.isActive.isTrue.or(audioContent.releaseDate.isNotNull))
.and(audioContent.title.contains(searchWord))
.and(categoryContent.id.isNull.or(categoryContent.isActive.isFalse))
)
.fetch()
}