Skip to content
Snippets Groups Projects

Prepare 11.0 RC6 EE release

Merged Alessio Caiazza requested to merge 11-0-stable-ee-prepare-rc6 into 11-0-stable-ee
4 files
+ 18
12
Compare changes
  • Side-by-side
  • Inline
Files
4
@@ -15,7 +15,6 @@ def index
@pipelines = PipelinesFinder
.new(project, scope: @scope)
.execute
.preload(:stages)
.page(params[:page])
.per(30)
@@ -24,8 +23,6 @@ def index
@finished_count = limited_pipelines_count(project, 'finished')
@pipelines_count = limited_pipelines_count(project)
Gitlab::Ci::Pipeline::Preloader.preload!(@pipelines)
respond_to do |format|
format.html
format.json do
@@ -35,7 +32,7 @@ def index
pipelines: PipelineSerializer
.new(project: @project, current_user: @current_user)
.with_pagination(request, response)
.represent(@pipelines, disable_coverage: true),
.represent(@pipelines, disable_coverage: true, preload: true),
count: {
all: @pipelines_count,
running: @running_count,
Loading