Improve is:X failure message

This commit is contained in:
Matchu 2023-07-26 11:06:36 -07:00
parent 20bedf8f59
commit c04bab55d0

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