N°1345 - Add possibility to sort transitions automatically

This commit is contained in:
Molkobain
2023-06-08 15:55:48 +02:00
parent c04c7e06ea
commit 508647fe0b
3 changed files with 108 additions and 3 deletions

View File

@@ -506,7 +506,6 @@ class ValueSetEnum extends ValueSetDefinition
*/
public function SortValues(array &$aValues): void
{
// TODO: Add unit test
// Force sort by values only if necessary
if ($this->bSortByValue) {
asort($aValues);