diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-11-05 17:30:45 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-11-05 17:30:45 +0000 |
commit | 040cfa6ae24984e4945fd64f08b9c08511ae77aa (patch) | |
tree | da7dc597316b16216a45fcbcbfa0ce3a67db4a22 /app | |
parent | d0af24870eede648bf265d885126282c403e91fc (diff) | |
download | redmine-040cfa6ae24984e4945fd64f08b9c08511ae77aa.tar.gz redmine-040cfa6ae24984e4945fd64f08b9c08511ae77aa.zip |
Fixed: <<me>> doesn't appear in the drop down filters on a project issue list.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@885 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r-- | app/models/query.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/query.rb b/app/models/query.rb index 4df3d628b..db8906525 100644 --- a/app/models/query.rb +++ b/app/models/query.rb @@ -126,10 +126,10 @@ class Query < ActiveRecord::Base "done_ratio" => { :type => :integer, :order => 13 }} user_values = [] + user_values << ["<< #{l(:label_me)} >>", "me"] if executed_by if project user_values += project.users.collect{|s| [s.name, s.id.to_s] } elsif executed_by - user_values << ["<< #{l(:label_me)} >>", "me"] if executed_by # members of the user's projects user_values += executed_by.projects.collect(&:users).flatten.uniq.sort.collect{|s| [s.name, s.id.to_s] } end |