From b2b49d5f82663d8bc3c29c7072dbe4cc800c73a1 Mon Sep 17 00:00:00 2001 From: Abeer Salameh Date: Thu, 24 Oct 2024 13:32:47 +0100 Subject: [PATCH] wip --- app/forms/questionnaires/choose_childcare_provider.rb | 2 -- app/views/admin/schools/index.html.erb | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/app/forms/questionnaires/choose_childcare_provider.rb b/app/forms/questionnaires/choose_childcare_provider.rb index e82aa5958e..27f996ff04 100644 --- a/app/forms/questionnaires/choose_childcare_provider.rb +++ b/app/forms/questionnaires/choose_childcare_provider.rb @@ -62,12 +62,10 @@ def possible_institutions schools = School .open - .search_by_location(institution_location) .search_by_name(institution_name) .limit(10) local_authorities = LocalAuthority - .search_by_location(institution_location) .search_by_name(institution_name) .limit(10) diff --git a/app/views/admin/schools/index.html.erb b/app/views/admin/schools/index.html.erb index 1fee03d611..3bb2386efe 100644 --- a/app/views/admin/schools/index.html.erb +++ b/app/views/admin/schools/index.html.erb @@ -15,6 +15,7 @@ <% end %> +