diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-05-18 16:15:22 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-05-18 16:15:22 +0000 |
commit | 073818f8bc46580e118a7550f1faaa55b3be13d9 (patch) | |
tree | 6ea9ab7a218ecdac7f4fba61f339e17d0459f04d /app/models/journal.rb | |
parent | 1907c31138d065aea93f53b8e7565e06a44e49f8 (diff) | |
download | redmine-073818f8bc46580e118a7550f1faaa55b3be13d9.tar.gz redmine-073818f8bc46580e118a7550f1faaa55b3be13d9.zip |
Ability to search all projects or the projects the user belongs to (#791).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1435 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/journal.rb')
-rw-r--r-- | app/models/journal.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/journal.rb b/app/models/journal.rb index 1376d349e..edf261e6d 100644 --- a/app/models/journal.rb +++ b/app/models/journal.rb @@ -26,7 +26,7 @@ class Journal < ActiveRecord::Base attr_accessor :indice acts_as_searchable :columns => 'notes', - :include => :issue, + :include => {:issue => :project}, :project_key => "#{Issue.table_name}.project_id", :date_column => "#{Issue.table_name}.created_on" |