]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-6890 Wrong link while drilling down from quality gate widget to new issues
authorStas Vilchik <vilchiks@gmail.com>
Wed, 25 Nov 2015 15:24:56 +0000 (16:24 +0100)
committerStas Vilchik <vilchiks@gmail.com>
Wed, 25 Nov 2015 15:25:02 +0000 (16:25 +0100)
server/sonar-web/src/main/js/components/shared/drilldown-link.js
server/sonar-web/src/main/webapp/WEB-INF/app/helpers/application_helper.rb

index d149a3db83caa2e15fd20b9e6838a86a3152a8ad..107398699ffecc7db53547b80d00c9f6886f85de 100644 (file)
@@ -8,6 +8,7 @@ import { getComponentDrilldownUrl } from '../../helpers/urls';
 
 const ISSUE_MEASURES = [
   'violations',
+  'new_violations',
   'blocker_violations',
   'critical_violations',
   'major_violations',
index 4fc10646ce1346dd4eae38b9c870479a78a0d49c..f0c82f2c13ba5a616038c0ca74e3f50ade4bbc0c 100644 (file)
@@ -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']