diff --git a/app/controllers/vm_common.rb b/app/controllers/vm_common.rb index 5a0006b0610..4bf9a8fafaa 100644 --- a/app/controllers/vm_common.rb +++ b/app/controllers/vm_common.rb @@ -229,7 +229,7 @@ def show(id = nil) end elsif @display == "compliance_history" count = params[:count] ? params[:count].to_i : 10 - @ch_tree = TreeBuilderComplianceHistory.new(:ch_tree, :ch, @sb, true, @record) + @ch_tree = TreeBuilderComplianceHistory.new(:ch_tree, :ch, @sb, true, :root => @record) session[:ch_tree] = @ch_tree.tree_nodes session[:tree_name] = "ch_tree" session[:squash_open] = (count == 1)