Fix orderby annotation

This commit is contained in:
Ruben 2016-09-04 12:06:02 +01:00
parent 48f43136d9
commit 6b5ddabf93

View file

@ -33,7 +33,7 @@ class Level
/** /**
* @ORM\OneToMany(targetEntity="Target", mappedBy="level", cascade={"persist"}) * @ORM\OneToMany(targetEntity="Target", mappedBy="level", cascade={"persist"})
* @OrderBy({"position" = "ASC"}) * @ORM\OrderBy({"position" = "ASC"})
*/ */
private $targets; private $targets;