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

This commit is contained in:
Julien Fastré 2022-04-20 13:52:48 +02:00
parent 0fd23c61a1
commit 44b537f05e
2 changed files with 2 additions and 1 deletions

View File

@ -21,7 +21,7 @@ and this project adheres to
* [Hompage_widget]: Renaming of tabs and removal of social actions tab (https://gitlab.com/champs-libres/departement-de-la-vendee/chill/-/issues/570) * [Hompage_widget]: Renaming of tabs and removal of social actions tab (https://gitlab.com/champs-libres/departement-de-la-vendee/chill/-/issues/570)
* [activity]: Ignore thirdparties when creating a social action via an activity (https://gitlab.com/champs-libres/departement-de-la-vendee/chill/-/issues/573) * [activity]: Ignore thirdparties when creating a social action via an activity (https://gitlab.com/champs-libres/departement-de-la-vendee/chill/-/issues/573)
* [parcours]: change wording of warning message and button when user is not associated to a household yet (https://gitlab.com/champs-libres/departement-de-la-vendee/chill/-/issues/590#note_918370943) * [parcours]: change wording of warning message and button when user is not associated to a household yet (https://gitlab.com/champs-libres/departement-de-la-vendee/chill/-/issues/590#note_918370943)
* [Accompanying period work evaluations] list documents associated to a work by creation date, and then by id, from the most recent to older
## Test releases ## Test releases

View File

@ -77,6 +77,7 @@ class AccompanyingPeriodWorkEvaluation implements TrackCreationInterface, TrackU
* cascade={"remove", "persist"}, * cascade={"remove", "persist"},
* orphanRemoval=true * orphanRemoval=true
* ) * )
* @ORM\OrderBy({"createdAt": "DESC", "id": "DESC"})
* @Serializer\Groups({"read"}) * @Serializer\Groups({"read"})
*/ */
private Collection $documents; private Collection $documents;