Skip to content

Commit

Permalink
Order modules on translation page alphabetically
Browse files Browse the repository at this point in the history
  • Loading branch information
Hlavtox committed Aug 16, 2024
1 parent 2937cae commit c2e6fb2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Core/Form/ChoiceProvider/ModuleByNameChoiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ public function getChoices()
$moduleChoices[$module->get('displayName')] = $module->get('name');
}

// Order modules alphabetically
ksort($moduleChoices);

return $moduleChoices;
}
}

0 comments on commit c2e6fb2

Please sign in to comment.