diff --git a/app/models/concerns/indexable.rb b/app/models/concerns/indexable.rb index 8542dfc5b..ae8ca567a 100644 --- a/app/models/concerns/indexable.rb +++ b/app/models/concerns/indexable.rb @@ -326,7 +326,7 @@ def query(query, options = {}) } end if options[:non_profit_status].present? - filter << { term: { non_profit_status: options[:non_profit_status] } } + filter << { term: { non_profit_status: options[:non_profit_status] == 1 } } end if options[:has_required_contacts].present? filter << { term: { has_required_contacts: options[:has_required_contacts] } }