diff options
author | Mayra Cabrera <mcabrera@gitlab.com> | 2019-08-26 17:51:59 +0000 |
---|---|---|
committer | GitLab Release Tools Bot <delivery-team+release-tools@gitlab.com> | 2019-08-30 12:51:27 +0000 |
commit | d074658a3fbd86ef30b0409ff10165c124cf5787 (patch) | |
tree | 90a218535d05ed7a586decfed747082d5a7a5d07 /lib | |
parent | 3efca731436ebee4d82511d7d55074f9361bb416 (diff) | |
download | gitlab-ce-d074658a3fbd86ef30b0409ff10165c124cf5787.tar.gz |
Merge branch 'sh-fix-nplusone-issues' into 'master'
Fix N+1 Gitaly calls in /api/v4/projects/:id/issues
See merge request gitlab-org/gitlab-ce!32171
(cherry picked from commit bbd39021c39b66ecb954a7fb8276320556b65a3b)
44063501 Fix N+1 Gitaly calls in /api/v4/projects/:id/issues
Diffstat (limited to 'lib')
-rw-r--r-- | lib/api/issues.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/api/issues.rb b/lib/api/issues.rb index 7819c2de515..c37bdb6b682 100644 --- a/lib/api/issues.rb +++ b/lib/api/issues.rb @@ -163,7 +163,8 @@ module API with_labels_details: declared_params[:with_labels_details], current_user: current_user, project: user_project, - issuable_metadata: issuable_meta_data(issues, 'Issue', current_user) + issuable_metadata: issuable_meta_data(issues, 'Issue', current_user), + include_subscribed: false } present issues, options |