diff --git a/app/helpers/officing_helper.rb b/app/helpers/officing_helper.rb index 842eaee63..43916fc24 100644 --- a/app/helpers/officing_helper.rb +++ b/app/helpers/officing_helper.rb @@ -13,7 +13,7 @@ module OfficingHelper officer_assignments.each do |oa| options << ["#{oa.booth_assignment.booth.name}", oa.id] end - options_for_select(options) + options_for_select(options, params[:oa]) end def recount_to_compare_with_final_recount(final_recount) diff --git a/app/helpers/polls_helper.rb b/app/helpers/polls_helper.rb index 214234762..5425a6b52 100644 --- a/app/helpers/polls_helper.rb +++ b/app/helpers/polls_helper.rb @@ -25,7 +25,7 @@ module PollsHelper (poll.starts_at.to_date..poll.ends_at.to_date).each do |date| options << [l(date, format: :long), l(date)] end - options_for_select(options) + options_for_select(options, params[:d]) end def poll_final_recount_option(poll)