aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2012-03-20 23:56:29 +0100
committerSimon Brandhof <simon.brandhof@gmail.com>2012-03-20 23:56:29 +0100
commit589d09bd86e95eab4add75d76abc2580c07ab817 (patch)
tree194119166fd12899c2ca935c28e1e6293f81b468 /sonar-server
parent5e2e55ddee5a9524d0e2369d6c05edb2b3fad225 (diff)
downloadsonarqube-589d09bd86e95eab4add75d76abc2580c07ab817.tar.gz
sonarqube-589d09bd86e95eab4add75d76abc2580c07ab817.zip
SONAR-3328 Measure drilldown should not display zero variations
Diffstat (limited to 'sonar-server')
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/models/drilldown.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/models/drilldown.rb b/sonar-server/src/main/webapp/WEB-INF/app/models/drilldown.rb
index ff4e589f77d..245622a31ed 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/models/drilldown.rb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/models/drilldown.rb
@@ -105,7 +105,7 @@ class DrilldownColumn
condition_values[:best_value]=@drilldown.metric.best_value
end
- if options[:exclude_zero_value]
+ if options[:exclude_zero_value] || options[:period]
conditions += " AND project_measures.#{value_column}<>0"
end