summaryrefslogtreecommitdiffstats
path: root/app/models/issue_query.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2013-01-29 17:59:20 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2013-01-29 17:59:20 +0000
commit1e0a94de84197825e34c3dd01e5b2ef6112963d9 (patch)
tree73ee0fed22faa5bc9c0849b02445e7e250d7a2c3 /app/models/issue_query.rb
parent5851f55eeba77cb0dc037e724875ee93b6ac8c9f (diff)
downloadredmine-1e0a94de84197825e34c3dd01e5b2ef6112963d9.tar.gz
redmine-1e0a94de84197825e34c3dd01e5b2ef6112963d9.zip
Fixe that filter "Assignee's group" doesn't work with group assignments (#13006).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11285 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/issue_query.rb')
-rw-r--r--app/models/issue_query.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/issue_query.rb b/app/models/issue_query.rb
index 5172f60d4..0fb184ea7 100644
--- a/app/models/issue_query.rb
+++ b/app/models/issue_query.rb
@@ -352,6 +352,7 @@ class IssueQuery < Query
members_of_groups = groups.inject([]) {|user_ids, group|
if group && group.user_ids.present?
user_ids << group.user_ids
+ user_ids << group.id
end
user_ids.flatten.uniq.compact
}.sort.collect(&:to_s)