Sort vehicle fetching by make #114
This commit is contained in:
parent
f62a7fa21f
commit
6dd052e84e
1 changed files with 1 additions and 0 deletions
|
|
@ -30,6 +30,7 @@ class VehicleManufacturer
|
|||
// vehicles
|
||||
/**
|
||||
* @ORM\OneToMany(targetEntity="Vehicle", mappedBy="manufacturer")
|
||||
* @ORM\OrderBy({"make" = "ASC"})
|
||||
*/
|
||||
protected $vehicles;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue