diff --git a/app/controllers/admin/claims_controller.rb b/app/controllers/admin/claims_controller.rb index d8585c405a..9787b588ea 100644 --- a/app/controllers/admin/claims_controller.rb +++ b/app/controllers/admin/claims_controller.rb @@ -6,7 +6,7 @@ class Admin::ClaimsController < Admin::BaseAdminController def index @filter_form = Admin::ClaimsFilterForm.new( filters: filter_params, - session:, + session: ) @filter_form.save_to_session! diff --git a/app/forms/admin/claims_filter_form.rb b/app/forms/admin/claims_filter_form.rb index bf303741fe..9e37bb314e 100644 --- a/app/forms/admin/claims_filter_form.rb +++ b/app/forms/admin/claims_filter_form.rb @@ -102,7 +102,7 @@ def status_select_options def team_member_select_options array = [["All", nil], ["Unassigned", "unassigned"]] - array = array + DfeSignIn::User.options_for_select + array += DfeSignIn::User.options_for_select array.map do |name, id| OpenStruct.new(id:, name:) diff --git a/spec/requests/admin/admin_claims_spec.rb b/spec/requests/admin/admin_claims_spec.rb index 9078feb493..1eed95cdb3 100644 --- a/spec/requests/admin/admin_claims_spec.rb +++ b/spec/requests/admin/admin_claims_spec.rb @@ -75,7 +75,7 @@ c.save } - get admin_claims_path, params: {filter:{team_member: mette.id}} + get admin_claims_path, params: {filter: {team_member: mette.id}} [ student_loans_claims_for_mette,