From 4856fc0de5e25f655fb6ff91be1a798882dd029b Mon Sep 17 00:00:00 2001 From: simonbrandhof Date: Tue, 4 Jan 2011 12:51:03 +0000 Subject: [PATCH] remove libraries from timemachine calendar --- sonar-server/src/main/webapp/WEB-INF/app/models/project.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' -- 2.39.5