about summary refs log tree commit diff
path: root/app/services
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2019-09-27 19:40:26 +0200
committerGitHub <noreply@github.com>2019-09-27 19:40:26 +0200
commit2f90a38f44c9c414a2020b2a0031835f3335fea0 (patch)
tree01107f52813781b4b2cb24126eebeb9647bf78c0 /app/services
parent07b057eabb9cc923aa7fc6bb851084af048ed5d2 (diff)
Fix unreviewed hashtag not being found by exact case-insensitive match (#11976)
Diffstat (limited to 'app/services')
-rw-r--r--app/services/tag_search_service.rb4
1 files 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,
               },
             },
           },