Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix missed argument change for compliance history tree #5376

Merged
merged 1 commit into from Mar 26, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/controllers/vm_common.rb
Expand Up @@ -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)
Expand Down