diff --git a/app/models/item/search/query.rb b/app/models/item/search/query.rb index 3449e070..64358158 100644 --- a/app/models/item/search/query.rb +++ b/app/models/item/search/query.rb @@ -193,9 +193,9 @@ class Item raise Item::Search::Error, message end - #if key == :user_closet_hanger_ownership - # Item::Search.error 'user_filters_disabled' - #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]