diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-12-21 18:10:05 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-12-21 18:10:05 +0300 |
commit | cb3b8bd5897cb77b5a00278ab86db89c7ffa2efa (patch) | |
tree | ebccb2dd79320d49e3f8b33ad4d18387ff05d6b6 /app/models/concerns/issuable.rb | |
parent | eb8836dea46945d5adf20be26efde222b73e17f9 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/concerns/issuable.rb')
-rw-r--r-- | app/models/concerns/issuable.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/concerns/issuable.rb b/app/models/concerns/issuable.rb index c3a394c1ca5..f04fcf34f43 100644 --- a/app/models/concerns/issuable.rb +++ b/app/models/concerns/issuable.rb @@ -216,6 +216,10 @@ module Issuable end class_methods do + def participant_includes + [:assignees, :author, { notes: [:author, :award_emoji] }] + end + # Searches for records with a matching title. # # This method uses ILIKE on PostgreSQL. |