Fix terms query
This commit is contained in:
parent
927067139c
commit
b2e255d97b
|
@ -109,10 +109,7 @@ async function queryVideos (search: VideosSearchQuery) {
|
|||
if (search.tagsOneOf) {
|
||||
filter.push({
|
||||
terms: {
|
||||
'tags.raw': {
|
||||
value: search.tagsOneOf,
|
||||
case_insensitive: true
|
||||
}
|
||||
tags: search.tagsOneOf.map(t => t.toLowerCase())
|
||||
}
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue