From 93c6a9457b2bde6ac21699a860224887dce76080 Mon Sep 17 00:00:00 2001 From: Stas Vilchik Date: Wed, 25 Nov 2015 16:24:56 +0100 Subject: [PATCH] SONAR-6890 Wrong link while drilling down from quality gate widget to new issues --- .../sonar-web/src/main/js/components/shared/drilldown-link.js | 1 + .../src/main/webapp/WEB-INF/app/helpers/application_helper.rb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/server/sonar-web/src/main/js/components/shared/drilldown-link.js b/server/sonar-web/src/main/js/components/shared/drilldown-link.js index d149a3db83c..107398699ff 100644 --- a/server/sonar-web/src/main/js/components/shared/drilldown-link.js +++ b/server/sonar-web/src/main/js/components/shared/drilldown-link.js @@ -8,6 +8,7 @@ import { getComponentDrilldownUrl } from '../../helpers/urls'; const ISSUE_MEASURES = [ 'violations', + 'new_violations', 'blocker_violations', 'critical_violations', 'major_violations', diff --git a/server/sonar-web/src/main/webapp/WEB-INF/app/helpers/application_helper.rb b/server/sonar-web/src/main/webapp/WEB-INF/app/helpers/application_helper.rb index 4fc10646ce1..f0c82f2c13b 100644 --- a/server/sonar-web/src/main/webapp/WEB-INF/app/helpers/application_helper.rb +++ b/server/sonar-web/src/main/webapp/WEB-INF/app/helpers/application_helper.rb @@ -1024,7 +1024,7 @@ module ApplicationHelper def get_issue_metrics - ['violations', + ['violations', 'new_violations', 'blocker_violations', 'critical_violations', 'major_violations', 'minor_violations', 'info_violations', 'new_blocker_violations', 'new_critical_violations', 'new_major_violations', 'new_minor_violations', 'new_info_violations', 'open_issues', 'reopened_issues', 'confirmed_issues', 'false_positive_issues'] -- 2.39.5