Merge branch 'sh-optimize-admin-projects-page' into 'master'
Fix timeouts loading /admin/projects page Closes #44338 See merge request gitlab-org/gitlab-ce!17785
This commit is contained in:
commit
2c792c7572
|
@ -16,8 +16,7 @@ class Admin::ProjectsFinder
|
|||
items = by_archived(items)
|
||||
items = by_personal(items)
|
||||
items = by_name(items)
|
||||
items = sort(items)
|
||||
items.includes(:namespace).order("namespaces.path, projects.name ASC").page(params[:page])
|
||||
sort(items).page(params[:page])
|
||||
end
|
||||
|
||||
private
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
title: Fix timeouts loading /admin/projects page
|
||||
merge_request:
|
||||
author:
|
||||
type: performance
|
Loading…
Reference in New Issue