From d4662f4c3ce61558134ebf79b150d8d0a63aef51 Mon Sep 17 00:00:00 2001 From: Martin Fenner Date: Thu, 15 Apr 2021 15:36:19 +0200 Subject: [PATCH] adding facets --- app/controllers/providers_controller.rb | 1 + app/controllers/v3/providers_controller.rb | 1 + 2 files changed, 2 insertions(+) diff --git a/app/controllers/providers_controller.rb b/app/controllers/providers_controller.rb index bdbf17043..f1a768dd2 100644 --- a/app/controllers/providers_controller.rb +++ b/app/controllers/providers_controller.rb @@ -103,6 +103,7 @@ def index "organizationTypes" => organization_types, "focusAreas" => focus_areas, "nonProfitStatuses" => non_profit_statuses, + "hasRequiredContacts" => has_required_contacts, }.compact options[:links] = { diff --git a/app/controllers/v3/providers_controller.rb b/app/controllers/v3/providers_controller.rb index cc7cb868d..edb78a61c 100644 --- a/app/controllers/v3/providers_controller.rb +++ b/app/controllers/v3/providers_controller.rb @@ -102,6 +102,7 @@ def index "organizationTypes" => organization_types, "focusAreas" => focus_areas, "nonProfitStatuses" => non_profit_statuses, + "hasRequiredContacts" => has_required_contacts, }.compact options[:links] = {