From: Eugen Rochko Date: Fri, 27 Sep 2019 17:40:26 +0000 (+0200) Subject: Fix unreviewed hashtag not being found by exact case-insensitive match (#11976) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=2f90a38f44c9c414a2020b2a0031835f3335fea0;p=mastodon.git Fix unreviewed hashtag not being found by exact case-insensitive match (#11976) --- 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, }, }, },