Improve is:X failure message

This commit is contained in:
Matchu 2023-07-26 11:06:36 -07:00 committed by Matchu
parent 72461972ca
commit 4cd8944bf4

View file

@ -44,7 +44,7 @@ class Item
filters << NPFilter.new(is_positive)
else
message = I18n.translate('items.search.errors.not_found.label',
:label => value)
:label => "is:#{value}")
raise Item::Search::Error, message
end
else