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:
parent
1ddabbc874
commit
3ca03beb6f
|
@ -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 ||= []
|
||||
|
||||
|
|
Loading…
Reference in New Issue