Compare commits
No commits in common. "97b2b38f8e4682c9fde82f421fdee2806325d209" and "9eff82824922e049223fdad6144b979d16aaecbd" have entirely different histories.
97b2b38f8e
...
9eff828249
|
@ -140,7 +140,6 @@ 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,7 +114,6 @@ 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 { it.trim() }
|
|
||||||
.map { if (it.startsWith("#")) it else "#$it" }
|
.map { if (it.startsWith("#")) it else "#$it" }
|
||||||
|
.map { it.trim() }
|
||||||
.filter { it.isNotBlank() }
|
.filter { it.isNotBlank() }
|
||||||
.distinct()
|
.distinct()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue