summaryrefslogtreecommitdiffstats
path: root/app/models/issue_query.rb
diff options
context:
space:
mode:
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 ||= []