Merge pull request #471 from mdashlw/fix-reportable-type-search

Fix reportable_type search
This commit is contained in:
liamwhite 2025-03-22 10:56:09 -04:00 committed by GitHub
commit aa147d8b99
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -10,7 +10,8 @@ defmodule Philomena.Reports.Query do
ip_fields: ~W(ip),
bool_fields: ~W(open),
ngram_fields: ~W(reason),
default_field: {"reason", :ngram}
default_field: {"reason", :ngram},
no_downcase_fields: ~W(reportable_type)
]
end