Skip to content

Commit

Permalink
Update app/controllers/concerns/form_answer_mixin.rb
Browse files Browse the repository at this point in the history
Co-authored-by: Lubos Hricak <[email protected]>
  • Loading branch information
TheDancingClown and Lubosky authored Sep 30, 2024
1 parent 22304bd commit 222bda2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/concerns/form_answer_mixin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def save_or_load_search!

unless @processor.valid?
flash[:bulk_error] = @processor.base_error_messages
redirect_to admin_form_answers_path(year: params[:year], search_id: @processor.search_id) + "#bulk_error" and return
redirect_to admin_form_answers_path(year: params[:year], search_id: @processor.search_id, anchor: "bulk_error") and return
end

redirect_url = @processor.redirect_url
Expand Down

0 comments on commit 222bda2

Please sign in to comment.