]> source.dussan.org Git - redmine.git/commitdiff
Fix project links in tracker deletion error message to set the status_id filter to...
authorGo MAEDA <maeda@farend.jp>
Mon, 4 Nov 2024 04:50:25 +0000 (04:50 +0000)
committerGo MAEDA <maeda@farend.jp>
Mon, 4 Nov 2024 04:50:25 +0000 (04:50 +0000)
git-svn-id: https://svn.redmine.org/redmine/trunk@23209 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/controllers/trackers_controller.rb

index 824ce93ef945a3e4909c9e7dfa4baa69193839fd..f2d8e38739726835627a894acf6f33ffe585eabe 100644 (file)
@@ -91,7 +91,7 @@ class TrackersController < ApplicationController
     unless @tracker.issues.empty?
       projects = Project.joins(:issues).where(issues: {tracker_id: @tracker.id}).sorted.distinct
       links = projects.map do |p|
-        view_context.link_to(p, project_issues_path(p, set_filter: 1, tracker_id: @tracker.id))
+        view_context.link_to(p, project_issues_path(p, set_filter: 1, tracker_id: @tracker.id, status_id: '*'))
       end.join(', ')
       flash[:error] = l(:error_can_not_delete_tracker_html, projects: links.html_safe)
     else