1
0
Fork 0
forked from OpenNeo/impress

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