Skip to content
Snippets Groups Projects
Commit 8112fb37 authored by Stan Hu's avatar Stan Hu
Browse files

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
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment