Rails4: replace deprecated find_all_by_* at IssueQuery model

git-svn-id: http://svn.redmine.org/redmine/trunk@12563 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2014-01-09 06:34:40 +00:00
parent 1ddabbc874
commit 3ca03beb6f
1 changed files with 1 additions and 1 deletions

View File

@ -409,7 +409,7 @@ class IssueQuery < Query
groups = Group.all
operator = '!' # Override the operator since we want to find by assigned_to
else
groups = Group.find_all_by_id(value)
groups = Group.where(:id => value).all
end
groups ||= []