From 0417093bd3401f384459c63a475871899ac39c0b Mon Sep 17 00:00:00 2001 From: Julien Lancelot Date: Thu, 24 Jul 2014 10:20:30 +0200 Subject: SONAR-5207 Fix treemap in order to return only first level of components --- .../src/main/resources/org/sonar/plugins/core/widgets/treemap.html.erb | 1 + 1 file changed, 1 insertion(+) (limited to 'plugins') 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) -- cgit v1.2.3