Skip to content

Commit

Permalink
Merge pull request #7183 from h-kataria/fix_loading_list_after_breadc…
Browse files Browse the repository at this point in the history
…rumb_is_clicked

only set `object_ids` if in a form.
  • Loading branch information
himdel authored Jul 7, 2020
2 parents 690d699 + 5a50c9a commit feef962
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/application_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1229,7 +1229,7 @@ def get_view(db, options = {}, fetch_data = false)
if !fetch_data && @report_data_additional_options.nil?
process_show_list_options(options, db)
end
unless @edit.nil?
if @in_a_form && @edit.present?
object_ids = @edit[:object_ids] unless @edit[:object_ids].nil?
object_ids = @edit[:pol_items] unless @edit[:pol_items].nil?
end
Expand Down

0 comments on commit feef962

Please sign in to comment.