stable

Clone or download

Read-only

request #9851: Improve performance of Folder selectbox rendering

Avoid the N+1 select issue by directly retrieving the parent of a folder. This improve the rendering of submit new artifact page in a project with lots of folder (mine has 800 folders, some are nested). Change-Id: Icfa09f198ef18875b02b5af50c33a979a6839801

Modified Files

Name
M plugins/artifactsfolders/include/Folder/Dao.php +15 −3 Go to diff View file
M plugins/artifactsfolders/include/Folder/FolderHierarchicalRepresentation.php +17 −2 Go to diff View file
M plugins/artifactsfolders/include/Folder/FolderHierarchicalRepresentationCollection.php +10 −0 Go to diff View file
M plugins/artifactsfolders/include/Folder/FolderHierarchicalRepresentationCollectionBuilder.php +20 −13 Go to diff View file