diff options
author | Simon Brandhof <simon.brandhof@gmail.com> | 2012-03-20 23:56:29 +0100 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@gmail.com> | 2012-03-20 23:56:29 +0100 |
commit | 589d09bd86e95eab4add75d76abc2580c07ab817 (patch) | |
tree | 194119166fd12899c2ca935c28e1e6293f81b468 /sonar-server | |
parent | 5e2e55ddee5a9524d0e2369d6c05edb2b3fad225 (diff) | |
download | sonarqube-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.rb | 2 |
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 |