mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-20 15:31:12 +00:00
Preload assignee.
git-svn-id: http://svn.redmine.org/redmine/trunk@15519 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
10c22b5384
commit
db75a0237e
@ -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',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user