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