aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server
diff options
context:
space:
mode:
authorsimonbrandhof <simon.brandhof@gmail.com>2011-03-18 13:38:58 +0100
committersimonbrandhof <simon.brandhof@gmail.com>2011-03-18 13:38:58 +0100
commita8f2e60b710785919bd63c6dcd68b9bc1d6dc073 (patch)
tree75d4b7552c77b82932f554133f353ba59598dca5 /sonar-server
parentaf36f335155b2ed4d3a3579938b766263b7d7c3a (diff)
downloadsonarqube-a8f2e60b710785919bd63c6dcd68b9bc1d6dc073.tar.gz
sonarqube-a8f2e60b710785919bd63c6dcd68b9bc1d6dc073.zip
Fix bug in timemachine page: string measures are not displayed anymore
Diffstat (limited to 'sonar-server')
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/controllers/timemachine_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/controllers/timemachine_controller.rb b/sonar-server/src/main/webapp/WEB-INF/app/controllers/timemachine_controller.rb
index 82b677a33e6..d2841e7b3d9 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/controllers/timemachine_controller.rb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/controllers/timemachine_controller.rb
@@ -61,7 +61,7 @@ class TimemachineController < ApplicationController
measures.each do |measure|
next unless measure.metric
- if measure.metric.timemachine? && measure.value
+ if measure.metric.timemachine? && (measure.value || measure.text_value)
row=rows_by_metric_id[measure.metric_id]
unless row
row=Sonar::TimemachineRow.new(measure.metric)