We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0cec088 commit 9ed4b70Copy full SHA for 9ed4b70
app/controllers/mixins/checked_id_mixin.rb
@@ -30,11 +30,7 @@ def find_checked_items(prefix = nil)
30
31
# If id is present use id, unless when nested list exists, example on summary pages
32
if params[:id].present? && params[nested_list_item_key] != "on" && has_no_check
33
- if params[:id].kind_of?(Array)
34
- params[:id]
35
- else
36
- [params[:id]]
37
- end
+ Array.wrap(params[:id])
38
elsif params[:miq_grid_checks].present?
39
params[:miq_grid_checks].split(",").collect(&:to_i)
40
else
0 commit comments