Commit 3a475133 authored by jplang's avatar jplang

Preload assignee.

git-svn-id: https://svn.redmine.org/redmine/trunk@15519 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 0134f0d6
......@@ -106,7 +106,7 @@ module IssuesHelper
def render_descendants_tree(issue)
s = '<form><table class="list issues">'
issue_list(issue.descendants.visible.preload(:status, :priority, :tracker).sort_by(&:lft)) do |child, level|
issue_list(issue.descendants.visible.preload(:status, :priority, :tracker, :assigned_to).sort_by(&:lft)) do |child, level|
css = "issue issue-#{child.id} hascontextmenu #{issue.css_classes}"
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