From 2f90a38f44c9c414a2020b2a0031835f3335fea0 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Fri, 27 Sep 2019 19:40:26 +0200 Subject: Fix unreviewed hashtag not being found by exact case-insensitive match (#11976) --- app/services/tag_search_service.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/services/tag_search_service.rb b/app/services/tag_search_service.rb index 5cb0eea7a..47b0e876e 100644 --- a/app/services/tag_search_service.rb +++ b/app/services/tag_search_service.rb @@ -62,9 +62,9 @@ class TagSearchService < BaseService }, { - term: { + match: { name: { - value: @query, + query: @query, }, }, }, -- cgit