콘텐츠 리스트
- 콘텐츠 노출 조건 변경 ( isActive가 true이거나 releaseDate와 duration이 null 이 아닌 경우 노출 )
This commit is contained in:
@@ -153,7 +153,7 @@ class AudioContentQueryRepositoryImpl(private val queryFactory: JPAQueryFactory)
|
||||
var where = audioContent.member.id.eq(creatorId)
|
||||
.and(
|
||||
audioContent.isActive.isTrue
|
||||
.or(audioContent.releaseDate.isNotNull)
|
||||
.or(audioContent.releaseDate.isNotNull.and(audioContent.duration.isNotNull))
|
||||
)
|
||||
|
||||
if (!isAdult) {
|
||||
@@ -176,7 +176,7 @@ class AudioContentQueryRepositoryImpl(private val queryFactory: JPAQueryFactory)
|
||||
var where = audioContent.member.id.eq(creatorId)
|
||||
.and(
|
||||
audioContent.isActive.isTrue
|
||||
.or(audioContent.releaseDate.isNotNull)
|
||||
.or(audioContent.releaseDate.isNotNull.and(audioContent.duration.isNotNull))
|
||||
)
|
||||
|
||||
if (!isAdult) {
|
||||
|
Reference in New Issue
Block a user