mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-08 01:14:34 +02:00
Order data structrues in select pickers alphabetically by their names.
This commit is contained in:
parent
4ccfeef6ec
commit
63ca177699
10 changed files with 10 additions and 0 deletions
|
@ -84,6 +84,7 @@ class MeasurementUnit extends AbstractPartsContainingDBElement
|
|||
|
||||
/**
|
||||
* @ORM\OneToMany(targetEntity="MeasurementUnit", mappedBy="parent", cascade={"persist"})
|
||||
* @ORM\OrderBy({"name" = "ASC"})
|
||||
*/
|
||||
protected $children;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue