summaryrefslogtreecommitdiffstats
path: root/app/helpers
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2021-12-12 04:40:32 +0000
committerGo MAEDA <maeda@farend.jp>2021-12-12 04:40:32 +0000
commitb4dbd821c903f3b30bd2b188562462ee21383e9b (patch)
tree59fa8259d83cc169aff8af7a97ad54d57e794f9d /app/helpers
parent8b452eb3417a365c7d5be1f6e4caa34b32c41e5b (diff)
downloadredmine-b4dbd821c903f3b30bd2b188562462ee21383e9b.tar.gz
redmine-b4dbd821c903f3b30bd2b188562462ee21383e9b.zip
Issue Summary: add statistics about issues without assignee, version or category (#13099).
Patch by Takenori TAKAKI. git-svn-id: http://svn.redmine.org/redmine/trunk@21309 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/reports_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/reports_helper.rb b/app/helpers/reports_helper.rb
index 8f8e8eb84..c64ccc768 100644
--- a/app/helpers/reports_helper.rb
+++ b/app/helpers/reports_helper.rb
@@ -41,7 +41,7 @@ module ReportsHelper
end
def aggregate_path(project, field, row, options={})
- parameters = {:set_filter => 1, :subproject_id => '!*', field => row.id}.merge(options)
+ parameters = {:set_filter => 1, :subproject_id => '!*', field => (row.id || '!*')}.merge(options)
project_issues_path(row.is_a?(Project) ? row : project, parameters)
end
end