Order data structrues in select pickers alphabetically by their names.

This commit is contained in:
Jan Böhmer 2020-04-01 16:43:42 +02:00
parent 4ccfeef6ec
commit 63ca177699
10 changed files with 10 additions and 0 deletions

View file

@ -84,6 +84,7 @@ class MeasurementUnit extends AbstractPartsContainingDBElement
/**
* @ORM\OneToMany(targetEntity="MeasurementUnit", mappedBy="parent", cascade={"persist"})
* @ORM\OrderBy({"name" = "ASC"})
*/
protected $children;