]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-55 Add support of views in bubble chart
authorSimon Brandhof <simon.brandhof@gmail.com>
Thu, 31 Oct 2013 14:15:30 +0000 (15:15 +0100)
committerSimon Brandhof <simon.brandhof@gmail.com>
Thu, 31 Oct 2013 14:15:40 +0000 (15:15 +0100)
plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/bubbleChart.html.erb

index 1baea7f4ed50bc3ec5059b0138611bfcd7e3f45f..4f2c1c71d9d1b56ec16b5c87fb4d2638e58100bd 100644 (file)
@@ -25,7 +25,7 @@
   var bubbleChartData = [
     <%
        filter = MeasureFilter.new
-       filter.criteria = {:qualifiers => ['FIL', 'CLA'], :baseId => @project.id}
+       filter.criteria = {:scopes => ['FIL'], :baseId => @project.id}
        filter.metrics = [xMetric.name, yMetric.name, sizeMetric.name]
        filter.execute(self, :user => current_user)
        filter.rows.each  do |row|