Project

General

Profile

Defect #25828 » redmine_issues_api_workaround.patch

workaround for issues API and issues filter changing - Leo Antunes, 2017-05-16 17:30

View differences:

redmine/app/models/issue_query.rb 2017-05-15 11:08:24.691187176 +0200
137 137
    if project
138 138
      principals += project.principals.visible
139 139
      unless project.leaf?
140
        subprojects = project.descendants.visible.to_a
140
        subprojects = project.self_and_descendants.visible.to_a
141 141
        principals += Principal.member_of(subprojects).visible
142 142
      end
143 143
      versions = project.shared_versions.to_a
(2-2/2)