Patch by Go MAEDA (@maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@22589
e93f8b46-1217-0410-a6f0-
8f06a7374b81
tag_options[:id] = "issue-#{object.id}"
tag_options[:class] = "issue-subject hascontextmenu"
tag_options[:title] = object.subject
- children = object.children & project_issues(object.project)
+ children = object.leaf? ? [] : object.children & project_issues(object.project)
has_children =
children.present? &&
(children.collect(&:fixed_version).uniq & [object.fixed_version]).present?