aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2014-07-24 10:20:30 +0200
committerJulien Lancelot <julien.lancelot@sonarsource.com>2014-07-24 10:20:40 +0200
commit0417093bd3401f384459c63a475871899ac39c0b (patch)
tree141a72d0a4a72655369b2591c9ba05031f72e3eb /plugins
parent7b9679e8749287b46b195464a22fbd751dbf5cf3 (diff)
downloadsonarqube-0417093bd3401f384459c63a475871899ac39c0b.tar.gz
sonarqube-0417093bd3401f384459c63a475871899ac39c0b.zip
SONAR-5207 Fix treemap in order to return only first level of components
Diffstat (limited to 'plugins')
-rw-r--r--plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/treemap.html.erb1
1 files changed, 1 insertions, 0 deletions
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)