forked from OpenNeo/impress
Improve is:X failure message
This commit is contained in:
parent
72461972ca
commit
4cd8944bf4
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue