Order the pricedetails by the min quantity

This commit is contained in:
Jan Böhmer 2019-08-31 12:07:16 +02:00
parent b6ee0d1323
commit 21cb12303f

View file

@ -102,6 +102,7 @@ class Orderdetail extends DBElement
/** /**
* @ORM\OneToMany(targetEntity="Pricedetail", mappedBy="orderdetail", cascade={"persist", "remove"}, orphanRemoval=true) * @ORM\OneToMany(targetEntity="Pricedetail", mappedBy="orderdetail", cascade={"persist", "remove"}, orphanRemoval=true)
* @Assert\Valid() * @Assert\Valid()
* @ORM\OrderBy({"min_discount_quantity" = "ASC"})
*/ */
protected $pricedetails; protected $pricedetails;