From 9dc07d4790aac44b5183c8a19759512dc777f259 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 9 Dec 2012 19:18:57 +0000 Subject: 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 --- app/models/query.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/models/query.rb') 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) -- cgit v1.2.3