Commit e859855b authored by jplang's avatar jplang
Browse files

Preload issue associations.

git-svn-id: e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 1435537c
......@@ -98,7 +98,7 @@ module IssuesHelper
def render_descendants_tree(issue)
s = '<form><table class="list issues">'
issue_list(issue.descendants.visible.sort_by(&:lft)) do |child, level|
issue_list(issue.descendants.visible.preload(:status, :priority, :tracker).sort_by(&:lft)) do |child, level|
css = "issue issue-#{} hascontextmenu"
css << " idnt idnt-#{level}" if level > 0
s << content_tag('tr',
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment