summaryrefslogtreecommitdiffstats
path: root/app/models/issue_query.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2014-01-09 06:34:40 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2014-01-09 06:34:40 +0000
commit3ca03beb6f81958b8ca5dcfbb3e51e95a982a674 (patch)
treecca11a1c71af6dddb1d78ea340c59401d0fa6320 /app/models/issue_query.rb
parent1ddabbc874d33005f794f4536ca91fafc1fb9ca6 (diff)
downloadredmine-3ca03beb6f81958b8ca5dcfbb3e51e95a982a674.tar.gz
redmine-3ca03beb6f81958b8ca5dcfbb3e51e95a982a674.zip
Rails4: replace deprecated find_all_by_* at IssueQuery model
git-svn-id: http://svn.redmine.org/redmine/trunk@12563 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/issue_query.rb')
-rw-r--r--app/models/issue_query.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/issue_query.rb b/app/models/issue_query.rb
index 43d7cd5fa..43bbd3263 100644
--- a/app/models/issue_query.rb
+++ b/app/models/issue_query.rb
@@ -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 ||= []