From: Simon Brandhof Date: Wed, 6 Nov 2013 12:04:35 +0000 (+0100) Subject: Fix compatibility of bubble chart with developer cockpit X-Git-Tag: 4.1-RC1~322 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=c8a7916470b2a72cfd110d17d9237f2931fcdbd0;p=sonarqube.git Fix compatibility of bubble chart with developer cockpit --- diff --git a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/bubbleChart.html.erb b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/bubbleChart.html.erb index da8bfdf3c24..3ae4c304e2c 100644 --- a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/bubbleChart.html.erb +++ b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/bubbleChart.html.erb @@ -25,7 +25,7 @@ var bubbleChartData = [ <% filter = MeasureFilter.new - filter.criteria = {:scopes => ['FIL'], :baseId => @project.id} + filter.criteria = {:qualifiers => Api::Utils.java_facade.getResourceLeavesQualifiers(@project.qualifier).to_a, :baseId => @project.id} filter.metrics = [xMetric.name, yMetric.name, sizeMetric.name] filter.execute(self, :user => current_user) filter.rows.each do |row|