From: Julien Lancelot Date: Thu, 24 Jul 2014 08:20:30 +0000 (+0200) Subject: SONAR-5207 Fix treemap in order to return only first level of components X-Git-Tag: 4.5-RC1~375^2~3 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=0417093bd3401f384459c63a475871899ac39c0b;p=sonarqube.git SONAR-5207 Fix treemap in order to return only first level of components --- diff --git a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/treemap.html.erb b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/treemap.html.erb index b12ca554f18..76c152ec75a 100644 --- a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/treemap.html.erb +++ b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/treemap.html.erb @@ -22,6 +22,7 @@ <% filter = MeasureFilter.new filter.set_criteria_value(:base, @resource.key) + filter.set_criteria_value(:onBaseComponents, 'true') filter.set_criteria_value(:pageSize, 100) filter.set_criteria_value(:page, 1) filter.metrics=([sizeMetric, colorMetric].compact)