aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2015-02-09 16:30:37 +0100
committerJulien Lancelot <julien.lancelot@sonarsource.com>2015-02-09 16:30:46 +0100
commitf617ae594747af8ea73de552bc3250b4488edd82 (patch)
treef8ff24e66b55800023c6fb985ff2fab9d4000363 /plugins
parentbd55e134575007c9d51f5b39513e9dec0f97fc6d (diff)
downloadsonarqube-f617ae594747af8ea73de552bc3250b4488edd82.tar.gz
sonarqube-f617ae594747af8ea73de552bc3250b4488edd82.zip
SONAR-6170 Unresolved issues per assignee is failing to render on removed users
Diffstat (limited to 'plugins')
-rw-r--r--plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/issues/unresolved_issues_per_assignee.html.erb4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/issues/unresolved_issues_per_assignee.html.erb b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/issues/unresolved_issues_per_assignee.html.erb
index e5f0b6ff0b5..1dcab1fbeae 100644
--- a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/issues/unresolved_issues_per_assignee.html.erb
+++ b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/issues/unresolved_issues_per_assignee.html.erb
@@ -9,14 +9,12 @@
issues_by_assignee = Internal.issues.findIssueAssignees(options)
unless issues_by_assignee.empty?
- users = Internal.users_api.find({'logins', issues_by_assignee.keySet()})
+ users = Internal.users_api.find({'logins', issues_by_assignee.keySet(), 'includeDeactivated', true})
users_by_login = {}
users.each do |u|
users_by_login[u.login()] = u
end
- # puts "### " + users_by_login.inspect
-
counter_no_assignee = issues_by_assignee.get(nil)
counter_max = 0
counter_max = issues_by_assignee.values().max unless issues_by_assignee.empty?