order accompanying period by opening date in search person

This commit is contained in:
nobohan 2022-03-08 11:37:08 +01:00
parent dc5ff53a57
commit db95e935d9

View File

@ -109,6 +109,7 @@ class Person implements HasCenterInterface, TrackCreationInterface, TrackUpdateI
* @ORM\OneToMany(targetEntity=AccompanyingPeriodParticipation::class,
* mappedBy="person",
* cascade={"persist", "remove", "merge", "detach"})
* @ORM\OrderBy({"startDate" = "DESC"})
*/
private $accompanyingPeriodParticipations;