diff options
-rw-r--r-- | app/controllers/trackers_controller.rb | 2 | ||||
-rw-r--r-- | test/functional/trackers_controller_test.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/trackers_controller.rb b/app/controllers/trackers_controller.rb index 824ce93ef..f2d8e3873 100644 --- a/app/controllers/trackers_controller.rb +++ b/app/controllers/trackers_controller.rb @@ -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 diff --git a/test/functional/trackers_controller_test.rb b/test/functional/trackers_controller_test.rb index 6f62c9f0a..61364fc07 100644 --- a/test/functional/trackers_controller_test.rb +++ b/test/functional/trackers_controller_test.rb @@ -20,7 +20,7 @@ require_relative '../test_helper' class TrackersControllerTest < Redmine::ControllerTest - fixtures :trackers, :projects, :projects_trackers, :users, :issues, :custom_fields, :issue_statuses + fixtures :trackers, :projects, :projects_trackers, :users, :issues, :custom_fields, :issue_statuses, :enumerations; def setup User.current = nil |