https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292020-10-29T06:45:11ZRedmineRedmine - Defect #34185: Trackers of subprojects are not displayed in the Issue summary pagehttps://www.redmine.org/issues/34185?journal_id=995842020-10-29T06:45:11ZYuichi HARADA
<ul><li><strong>Copied from</strong> <i><a class="issue tracker-1 status-5 priority-4 priority-default closed" href="/issues/10084">Defect #10084</a>: Disabled trackers of subprojects are listed in project overview</i> added</li></ul> Redmine - Defect #34185: Trackers of subprojects are not displayed in the Issue summary pagehttps://www.redmine.org/issues/34185?journal_id=995852020-10-29T06:51:32ZYuichi HARADA
<ul><li><strong>File</strong> <a href="/attachments/26176">fixed-34185.patch</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/26176/fixed-34185.patch">fixed-34185.patch</a> added</li></ul><p>I created a patch like this.</p>
<pre><code class="diff syntaxhl"><span class="gh">diff --git a/app/controllers/reports_controller.rb b/app/controllers/reports_controller.rb
index b9ee49100..976907242 100644
</span><span class="gd">--- a/app/controllers/reports_controller.rb
</span><span class="gi">+++ b/app/controllers/reports_controller.rb
</span><span class="p">@@ -22,14 +22,14 @@</span> class ReportsController < ApplicationController
before_action :find_project, :authorize, :find_issue_statuses
def issue_report
<span class="gd">- @trackers = @project.rolled_up_trackers(false).visible
</span><span class="gi">+ with_subprojects = Setting.display_subprojects_issues?
+ @trackers = @project.rolled_up_trackers(with_subprojects).visible
</span> @versions = @project.shared_versions.sorted
@priorities = IssuePriority.all.reverse
@categories = @project.issue_categories
@assignees = (Setting.issue_group_assignment? ? @project.principals : @project.users).sorted
@authors = @project.users.sorted
@subprojects = @project.descendants.visible
<span class="gd">- with_subprojects = Setting.display_subprojects_issues?
</span> @issues_by_tracker = Issue.by_tracker(@project, with_subprojects)
@issues_by_version = Issue.by_version(@project, with_subprojects)
@issues_by_priority = Issue.by_priority(@project, with_subprojects)
<span class="p">@@ -46,7 +46,7 @@</span> class ReportsController < ApplicationController
case params[:detail]
when "tracker"
@field = "tracker_id"
<span class="gd">- @rows = @project.rolled_up_trackers(false).visible
</span><span class="gi">+ @rows = @project.rolled_up_trackers(with_subprojects).visible
</span> @data = Issue.by_tracker(@project, with_subprojects)
@report_title = l(:field_tracker)
when "version"
</code></pre> Redmine - Defect #34185: Trackers of subprojects are not displayed in the Issue summary pagehttps://www.redmine.org/issues/34185?journal_id=996362020-11-07T06:48:55ZGo MAEDA
<ul><li><strong>Related to</strong> <i><a class="issue tracker-2 status-5 priority-4 priority-default closed" href="/issues/2529">Feature #2529</a>: Extend Issue Summary to include subprojects</i> added</li></ul> Redmine - Defect #34185: Trackers of subprojects are not displayed in the Issue summary pagehttps://www.redmine.org/issues/34185?journal_id=996382020-11-07T06:57:44ZGo MAEDA
<ul><li><strong>Category</strong> changed from <i>Projects</i> to <i>Issues</i></li><li><strong>Status</strong> changed from <i>New</i> to <i>Confirmed</i></li><li><strong>Target version</strong> set to <i>Candidate for next major release</i></li></ul><p>Confirmed the issue. The attached patch is a fix for <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Extend Issue Summary to include subprojects (Closed)" href="https://www.redmine.org/issues/2529">#2529</a> that delivered in Redmine 4.0.0.</p> Redmine - Defect #34185: Trackers of subprojects are not displayed in the Issue summary pagehttps://www.redmine.org/issues/34185?journal_id=996392020-11-07T07:10:53ZGo MAEDA
<ul><li><strong>File</strong> <i>34185-v2.patch</i> added</li></ul><p>I have got rid of RuboCop Rails/DynamicFindBy offense.</p> Redmine - Defect #34185: Trackers of subprojects are not displayed in the Issue summary pagehttps://www.redmine.org/issues/34185?journal_id=996842020-11-11T07:46:23ZGo MAEDA
<ul><li><strong>Target version</strong> changed from <i>Candidate for next major release</i> to <i>4.2.0</i></li></ul><p>Setting the target version to 4.2.0.</p> Redmine - Defect #34185: Trackers of subprojects are not displayed in the Issue summary pagehttps://www.redmine.org/issues/34185?journal_id=997422020-11-16T05:16:31ZGo MAEDA
<ul><li><strong>File</strong> deleted (<del><i>34185-v2.patch</i></del>)</li></ul> Redmine - Defect #34185: Trackers of subprojects are not displayed in the Issue summary pagehttps://www.redmine.org/issues/34185?journal_id=997432020-11-16T05:16:42ZGo MAEDA
<ul><li><strong>File</strong> <a href="/attachments/26251">34185-v2.patch</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/26251/34185-v2.patch">34185-v2.patch</a> added</li></ul> Redmine - Defect #34185: Trackers of subprojects are not displayed in the Issue summary pagehttps://www.redmine.org/issues/34185?journal_id=997522020-11-16T14:21:42ZGo MAEDA
<ul><li><strong>Status</strong> changed from <i>Confirmed</i> to <i>Closed</i></li><li><strong>Assignee</strong> set to <i>Go MAEDA</i></li><li><strong>Resolution</strong> set to <i>Fixed</i></li></ul><p>Committed the patch. Thank you for your contribution.</p> Redmine - Defect #34185: Trackers of subprojects are not displayed in the Issue summary pagehttps://www.redmine.org/issues/34185?journal_id=997532020-11-16T14:22:32ZGo MAEDA
<ul><li><strong>Subject</strong> changed from <i>Trackers of subprojects are not listed in the Issue summary page</i> to <i>Trackers of subprojects are not displayed in the Issue summary page</i></li></ul> Redmine - Defect #34185: Trackers of subprojects are not displayed in the Issue summary pagehttps://www.redmine.org/issues/34185?journal_id=1035042021-08-02T13:29:18ZMischa The Evil
<ul><li><strong>Related to</strong> <i><a class="issue tracker-1 status-1 priority-4 priority-default" href="/issues/35664">Defect #35664</a>: Inconsistencies in rendering of subproject data on Issues Reports</i> added</li></ul> Redmine - Defect #34185: Trackers of subprojects are not displayed in the Issue summary pagehttps://www.redmine.org/issues/34185?journal_id=1035132021-08-02T19:32:16ZMischa The Evil
<ul><li><strong>Related to</strong> <i><a class="issue tracker-2 status-1 priority-4 priority-default" href="/issues/35647">Feature #35647</a>: Allow the user to properly override Setting.display_subprojects_issues on Issue Reports if a project has subprojects</i> added</li></ul>