diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/models/project.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/project.rb b/app/models/project.rb index 6ced34565..a146a344a 100644 --- a/app/models/project.rb +++ b/app/models/project.rb @@ -952,6 +952,7 @@ class Project < ActiveRecord::Base new_query.sort_criteria = query.sort_criteria if query.sort_criteria new_query.project = self new_query.user_id = query.user_id + new_query.role_ids = query.role_ids if query.visibility == IssueQuery::VISIBILITY_ROLES self.queries << new_query end end |