From: Simon Brandhof Date: Tue, 20 Mar 2012 22:56:29 +0000 (+0100) Subject: SONAR-3328 Measure drilldown should not display zero variations X-Git-Tag: 3.0~154 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=589d09bd86e95eab4add75d76abc2580c07ab817;p=sonarqube.git SONAR-3328 Measure drilldown should not display zero variations --- 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