From 5bae8c9a5dd026553bd47f10ea2457dbc722d78c Mon Sep 17 00:00:00 2001 From: DavidBruchmann Date: Thu, 4 Apr 2024 01:12:00 +0700 Subject: [PATCH] [TASK] sort list of local extensions for optional editing --- Classes/Controller/BuilderModuleController.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Classes/Controller/BuilderModuleController.php b/Classes/Controller/BuilderModuleController.php index 46d80cfc..b06d24fa 100644 --- a/Classes/Controller/BuilderModuleController.php +++ b/Classes/Controller/BuilderModuleController.php @@ -527,14 +527,15 @@ protected function rpcActionSave(): array } /** - * Shows a list with available extensions (if they have an ExtensionBuilder.json - * file). + * Shows a list with locally available extensions for editing + * (if they have a file `ExtensionBuilder.json`). * * @return array */ protected function rpcActionList(): array { $extensions = $this->extensionRepository->findAll(); + sort($extensions); return [ 'success' => true, 'result' => $extensions,