크리에이터 관리자 카테고리 콘텐츠 검색
- 해당 카테고리에 속한 콘텐츠는 검색되지 않도록 수정
This commit is contained in:
@@ -23,6 +23,7 @@ class CreatorAdminCategoryRepository(private val queryFactory: JPAQueryFactory)
|
|||||||
.and(audioContent.member.id.eq(memberId))
|
.and(audioContent.member.id.eq(memberId))
|
||||||
.and(audioContent.isActive.isTrue.or(audioContent.releaseDate.isNotNull))
|
.and(audioContent.isActive.isTrue.or(audioContent.releaseDate.isNotNull))
|
||||||
.and(audioContent.title.contains(searchWord))
|
.and(audioContent.title.contains(searchWord))
|
||||||
|
.and(categoryContent.category.id.ne(categoryId))
|
||||||
)
|
)
|
||||||
.fetch()
|
.fetch()
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user