Commit 8112fb37 authored by Stan Hu's avatar Stan Hu

Merge branch 'mc/bug/nplusone-pipelines-show' into 'master'

Preload tags when loading Ci::Pipeline

Closes #60925

See merge request gitlab-org/gitlab-ce!32149
parents e60e6f82 21024065
......@@ -180,7 +180,7 @@ class Projects::PipelinesController < Projects::ApplicationController
else
project
.all_pipelines
.includes(user: :status)
.includes(builds: :tags, user: :status)
.find_by!(id: params[:id])
.present(current_user: current_user)
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment