temporarily disable user-filters in item search
This commit is contained in:
parent
895aef86c2
commit
8d72bf6353
2 changed files with 7 additions and 0 deletions
|
@ -193,6 +193,10 @@ class Item
|
|||
raise Item::Search::Error, message
|
||||
end
|
||||
|
||||
if key == :user_closet_hanger_ownership
|
||||
Item::Search.error 'user_filters_disabled'
|
||||
end
|
||||
|
||||
if TEXT_QUERY_RESOURCE_TYPES_BY_KEY.has_key?(key)
|
||||
resource_type = TEXT_QUERY_RESOURCE_TYPES_BY_KEY[key]
|
||||
finder = TEXT_QUERY_RESOURCE_FINDERS[resource_type]
|
||||
|
|
|
@ -330,6 +330,9 @@ en:
|
|||
|
||||
search:
|
||||
errors:
|
||||
user_filters_disabled:
|
||||
We've temporarily disabled user-filters because they're especially
|
||||
tough on the server. They'll be back soon. Thanks for understanding.
|
||||
not_found:
|
||||
label: Filter "%{label}" does not exist. Is it spelled correctly?
|
||||
species:
|
||||
|
|
Loading…
Reference in a new issue