From 040cfa6ae24984e4945fd64f08b9c08511ae77aa Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Mon, 5 Nov 2007 17:30:45 +0000 Subject: [PATCH] Fixed: <> 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 --- app/models/query.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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