summaryrefslogtreecommitdiffstats
path: root/app/models
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-08-16 10:38:23 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-08-16 10:38:23 +0000
commit2f0edb0b61aa6f52d9bf1cb9b16e8561d132e46a (patch)
treea39f1743d3ae1c8ebded1380c767a3a27025214a /app/models
parent5b35bfd4344e90ee4d1663bb45312d83176efcaa (diff)
downloadredmine-2f0edb0b61aa6f52d9bf1cb9b16e8561d132e46a.tar.gz
redmine-2f0edb0b61aa6f52d9bf1cb9b16e8561d132e46a.zip
Activity view improvements:
* issue status changes are now displayed * display options are kept when using previous/next month links git-svn-id: http://redmine.rubyforge.org/svn/trunk@646 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models')
-rw-r--r--app/models/project.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/project.rb b/app/models/project.rb
index 488724432..241c65817 100644
--- a/app/models/project.rb
+++ b/app/models/project.rb
@@ -24,6 +24,7 @@ class Project < ActiveRecord::Base
has_many :users, :through => :members
has_many :custom_values, :dependent => :delete_all, :as => :customized
has_many :issues, :dependent => :destroy, :order => "#{Issue.table_name}.created_on DESC", :include => [:status, :tracker]
+ has_many :issue_changes, :through => :issues, :source => :journals
has_many :versions, :dependent => :destroy, :order => "#{Version.table_name}.effective_date DESC, #{Version.table_name}.name DESC"
has_many :time_entries, :dependent => :delete_all
has_many :queries, :dependent => :delete_all