mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-28 04:30:08 +02:00
Order the pricedetails by the min quantity
This commit is contained in:
parent
b6ee0d1323
commit
21cb12303f
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue