[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:
Julien Fastré 2022-04-20 13:49:47 +02:00
parent 8b7404e531
commit bf0578b6d7
2 changed files with 2 additions and 0 deletions

View File

@ -15,6 +15,7 @@ and this project adheres to
* [Activity form] keep the same order for 'attendee' field in new and edit form
* [list with period] use "sameas" test operator to introduce requestor in list
* [notification email on course designation] allow raw string in email content generation
* [Accompanying period work] list evaluations associated to a work by startDate, and then by id, from the most recent to older
## Test releases

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`
*/