diff --git a/server/lib/elastic-search/elastic-search-videos.ts b/server/lib/elastic-search/elastic-search-videos.ts index 14acec1..a9c994f 100644 --- a/server/lib/elastic-search/elastic-search-videos.ts +++ b/server/lib/elastic-search/elastic-search-videos.ts @@ -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()) } }) }