diff --git a/app/view_objects/find/result_filters/filters_view.rb b/app/view_objects/find/result_filters/filters_view.rb
index 7eb977d601..2d23e2d8e4 100644
--- a/app/view_objects/find/result_filters/filters_view.rb
+++ b/app/view_objects/find/result_filters/filters_view.rb
@@ -7,6 +7,12 @@ def initialize(params:)
@params = params
end
+ def radius_options = [1, 5, 10, 15, 20, 25, 50, 100, 200]
+
+ def radius
+ params[:radius]
+ end
+
def qts_only_checked?
checked?('qts')
end
@@ -120,7 +126,7 @@ def location_query_params
loc: params[:loc],
longitude: params[:longitude],
query: params['provider.provider_name'],
- radius: params[:radius],
+ # radius: params[:radius],
sortby: params[:sortby]
}
end
diff --git a/app/views/find/result_filters/_all.html.erb b/app/views/find/result_filters/_all.html.erb
index 1588f31b61..2730a36c59 100644
--- a/app/views/find/result_filters/_all.html.erb
+++ b/app/views/find/result_filters/_all.html.erb
@@ -5,6 +5,7 @@
<%= form.submit "Apply filters", name: nil, class: "govuk-button", data: { qa: "apply-filters" } %>
+ <%= render "find/result_filters/radius", form: %>
<%= render "find/result_filters/visa_filter", form: %>
<%= render "find/result_filters/engineers_teach_physics_filter", form: %>
<%= render "find/result_filters/study_type_filter", form: %>
diff --git a/app/views/find/result_filters/_radius.html.erb b/app/views/find/result_filters/_radius.html.erb
new file mode 100644
index 0000000000..9fa1f9ad86
--- /dev/null
+++ b/app/views/find/result_filters/_radius.html.erb
@@ -0,0 +1,14 @@
+<% if @filters_view.radius.present? %>
+
+<% end %>
diff --git a/config/locales/find.yml b/config/locales/find.yml
index 12a30f551f..72ce34486d 100644
--- a/config/locales/find.yml
+++ b/config/locales/find.yml
@@ -33,6 +33,8 @@ en:
missing_location: Enter a city, town or postcode
missing_provider: Enter a real school, university or training provider
blank_provider: Enter a provider name or code
+ fields:
+ location: "soemthing"
fields:
location: "Postcode, town or city"
provider: "Training provider"
@@ -200,6 +202,12 @@ en:
html:
PGDE without
QTS
links:
national_pay_scales: https://www.gov.uk/government/publications/national-pay-scales-for-eligible-teaching-and-education-jobs/national-pay-scales-for-eligible-teaching-and-education-leadership-occupation-codes
+ result_filters:
+ radius:
+ radius_select:
+ label:
+ one: '%{count} mile'
+ other: '%{count} miles'
activemodel:
errors:
models: