mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-24 16:18:00 +01:00
Order the pricedetails by the min quantity
This commit is contained in:
@@ -102,6 +102,7 @@ class Orderdetail extends DBElement
|
||||
/**
|
||||
* @ORM\OneToMany(targetEntity="Pricedetail", mappedBy="orderdetail", cascade={"persist", "remove"}, orphanRemoval=true)
|
||||
* @Assert\Valid()
|
||||
* @ORM\OrderBy({"min_discount_quantity" = "ASC"})
|
||||
*/
|
||||
protected $pricedetails;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user