Dont order collections by attachment_type or supplier as this causes an exception on table views.

This commit is contained in:
Jan Böhmer 2020-04-01 17:00:50 +02:00
parent 63ca177699
commit a4ee46fed4
13 changed files with 13 additions and 14 deletions

View file

@ -58,7 +58,7 @@ trait OrderTrait
* @ORM\OneToMany(targetEntity="App\Entity\PriceInformations\Orderdetail", mappedBy="part", cascade={"persist", "remove"}, orphanRemoval=true)
* @Assert\Valid()
* @ColumnSecurity(prefix="orderdetails", type="collection")
* @ORM\OrderBy({"supplier" = "ASC", "supplierpartnr" = "ASC"})
* @ORM\OrderBy({"supplierpartnr" = "ASC"})
*/
protected $orderdetails;