[Accompanying period work] list evaluations associated to a work by startDate, and then by id, from the most recent to older

This commit is contained in:
2022-04-20 13:49:47 +02:00
parent 8b7404e531
commit bf0578b6d7
2 changed files with 2 additions and 0 deletions

View File

@@ -57,6 +57,7 @@ class AccompanyingPeriodWork implements AccompanyingPeriodLinkedWithSocialIssues
* orphanRemoval=true
* )
* @Serializer\Groups({"read", "docgen:read"})
* @ORM\OrderBy({"startDate": "DESC", "id": "DESC"})
*
* @internal /!\ the serialization for write evaluations is handled in `AccompanyingPeriodWorkDenormalizer`
*/