test #125

Merged
klaus merged 14 commits from test into main 2024-02-07 09:39:10 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit aea1f1889e - Show all commits

View File

@ -18,7 +18,6 @@ class CreatorAdminCategoryRepository(private val queryFactory: JPAQueryFactory)
.leftJoin(categoryContent) .leftJoin(categoryContent)
.on( .on(
audioContent.id.eq(categoryContent.content.id) audioContent.id.eq(categoryContent.content.id)
.and(categoryContent.isActive.ne(true))
.and(categoryContent.category.id.eq(categoryId)) .and(categoryContent.category.id.eq(categoryId))
) )
.where( .where(
@ -27,6 +26,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.id.isNull.or(categoryContent.isActive.isFalse))
) )
.fetch() .fetch()
} }