diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-12-09 19:18:57 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-12-09 19:18:57 +0000 |
commit | 9dc07d4790aac44b5183c8a19759512dc777f259 (patch) | |
tree | ce07b6538bccea104afebfff4f3784e19e34b65c /app/models/query.rb | |
parent | 093ecdfc730f2a35bcdb289603d8f714d5dce320 (diff) | |
download | redmine-9dc07d4790aac44b5183c8a19759512dc777f259.tar.gz redmine-9dc07d4790aac44b5183c8a19759512dc777f259.zip |
Adds filters for regular/custom fields to the time entries list/report (#10191).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10970 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/query.rb')
-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 ff7758c71..9681a2339 100644 --- a/app/models/query.rb +++ b/app/models/query.rb @@ -456,7 +456,7 @@ class Query < ActiveRecord::Base operator = operator_for(field) # "me" value subsitution - if %w(assigned_to_id author_id watcher_id).include?(field) + if %w(assigned_to_id author_id user_id watcher_id).include?(field) if v.delete("me") if User.current.logged? v.push(User.current.id.to_s) |