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
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user