diff options
author | simonbrandhof <simon.brandhof@gmail.com> | 2011-03-16 12:22:54 +0100 |
---|---|---|
committer | simonbrandhof <simon.brandhof@gmail.com> | 2011-03-16 12:22:54 +0100 |
commit | 0f8881badc19b55a3cacd5aa0e6530b87a4bf2b6 (patch) | |
tree | 064da3c619f25a6e36e4e3ed87f983ba85b2c1a1 /sonar-server | |
parent | ae5bf064b6a59b81263d83a28e9d0462c7e26c65 (diff) | |
download | sonarqube-0f8881badc19b55a3cacd5aa0e6530b87a4bf2b6.tar.gz sonarqube-0f8881badc19b55a3cacd5aa0e6530b87a4bf2b6.zip |
Fix timemachine page when SCM activity plugin is enabled
Diffstat (limited to 'sonar-server')
-rw-r--r-- | sonar-server/src/main/webapp/WEB-INF/app/models/sonar/timemachine_row.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/models/sonar/timemachine_row.rb b/sonar-server/src/main/webapp/WEB-INF/app/models/sonar/timemachine_row.rb index c136fa06156..0b1fc2843fe 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/models/sonar/timemachine_row.rb +++ b/sonar-server/src/main/webapp/WEB-INF/app/models/sonar/timemachine_row.rb @@ -38,7 +38,7 @@ class Sonar::TimemachineRow end def <=>(other) - (self.domain <=> other.domain).nonzero? || (self.metric.description <=> other.metric.description) + (self.domain <=> other.domain).nonzero? || (self.metric.short_name <=> other.metric.short_name) end def sparkline_url |