Compare commits
2 Commits
9eff828249
...
97b2b38f8e
| Author | SHA1 | Date | |
|---|---|---|---|
| 97b2b38f8e | |||
| 2268f4a3fc |
@@ -140,6 +140,7 @@ class AdminAudioContentQueryRepositoryImpl(
|
|||||||
audioContent.duration.isNotNull
|
audioContent.duration.isNotNull
|
||||||
.and(audioContent.member.isNotNull)
|
.and(audioContent.member.isNotNull)
|
||||||
.and(audioContentHashTag.audioContent.id.eq(audioContentId))
|
.and(audioContentHashTag.audioContent.id.eq(audioContentId))
|
||||||
|
.and(audioContentHashTag.isActive.isTrue)
|
||||||
)
|
)
|
||||||
.fetch()
|
.fetch()
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -114,6 +114,7 @@ class CreatorAdminAudioContentQueryRepositoryImpl(
|
|||||||
audioContent.duration.isNotNull
|
audioContent.duration.isNotNull
|
||||||
.and(audioContent.member.isNotNull)
|
.and(audioContent.member.isNotNull)
|
||||||
.and(audioContentHashTag.audioContent.id.eq(audioContentId))
|
.and(audioContentHashTag.audioContent.id.eq(audioContentId))
|
||||||
|
.and(audioContentHashTag.isActive.isTrue)
|
||||||
)
|
)
|
||||||
.fetch()
|
.fetch()
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -165,8 +165,8 @@ class CreatorAdminContentService(
|
|||||||
val normalizedTags = request.tags
|
val normalizedTags = request.tags
|
||||||
.replace("#", " #")
|
.replace("#", " #")
|
||||||
.split(" ")
|
.split(" ")
|
||||||
.map { if (it.startsWith("#")) it else "#$it" }
|
|
||||||
.map { it.trim() }
|
.map { it.trim() }
|
||||||
|
.map { if (it.startsWith("#")) it else "#$it" }
|
||||||
.filter { it.isNotBlank() }
|
.filter { it.isNotBlank() }
|
||||||
.distinct()
|
.distinct()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user