diff options
author | simonbrandhof <simon.brandhof@gmail.com> | 2011-01-04 12:51:03 +0000 |
---|---|---|
committer | simonbrandhof <simon.brandhof@gmail.com> | 2011-01-04 12:51:03 +0000 |
commit | 4856fc0de5e25f655fb6ff91be1a798882dd029b (patch) | |
tree | f5343d4308e135e098ecb28a747c6551e3c531e5 | |
parent | 66317361178778540508bcb8ac903aaef6dcb584 (diff) | |
download | sonarqube-4856fc0de5e25f655fb6ff91be1a798882dd029b.tar.gz sonarqube-4856fc0de5e25f655fb6ff91be1a798882dd029b.zip |
remove libraries from timemachine calendar
-rw-r--r-- | sonar-server/src/main/webapp/WEB-INF/app/models/project.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/models/project.rb b/sonar-server/src/main/webapp/WEB-INF/app/models/project.rb index de2a7aa9bec..d4762df86ad 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/models/project.rb +++ b/sonar-server/src/main/webapp/WEB-INF/app/models/project.rb @@ -22,7 +22,7 @@ class Project < ActiveRecord::Base include Resourceable has_many :snapshots - has_many :processed_snapshots, :class_name => 'Snapshot', :conditions => "status='#{Snapshot::STATUS_PROCESSED}'", :order => 'created_at asc' + has_many :processed_snapshots, :class_name => 'Snapshot', :conditions => "status='#{Snapshot::STATUS_PROCESSED}' AND qualifier<>'LIB'", :order => 'created_at asc' has_many :events, :foreign_key => 'resource_id', :order => 'event_date DESC' has_many :project_links, :dependent => :delete_all, :order => 'link_type' belongs_to :profile, :class_name => 'Profile', :foreign_key => 'profile_id' |