mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Merge branch 'issue47_ACCent_householdAddress_ordering' into 'master'
Ordering household addresses # Description of changes Ordering by id added so that last created address displays first. # Issues related * internal: https://gitlab.com/champs-libres/departement-de-la-vendee/chill/-/issues/275 * ACCent: https://gitlab.com/champs-libres/departement-de-la-vendee/accent-suivi-developpement/-/issues/47 # Tests No tests written. See merge request Chill-Projet/chill-bundles!203
This commit is contained in:
commit
74df496e38
@ -23,9 +23,9 @@ and this project adheres to
|
||||
* [activity]: perform client-side validation & show/hide fields in the "new location" modal
|
||||
* [tasks]: different layout for task list / my tasks, and fix link to tasks in alert or in warning
|
||||
* [admin]: links to activity admin section added again.
|
||||
* [household]: household addresses ordered by ValidFrom date and by id to show the last created address on top.
|
||||
* [socialWorkAction]: display of social issue and parent issues + banner context added.
|
||||
|
||||
|
||||
## Test releases
|
||||
|
||||
### Test release 2021-10-27
|
||||
|
@ -41,7 +41,7 @@ class Household
|
||||
* targetEntity="Chill\MainBundle\Entity\Address",
|
||||
* cascade={"persist", "remove", "merge", "detach"})
|
||||
* @ORM\JoinTable(name="chill_person_household_to_addresses")
|
||||
* @ORM\OrderBy({"validFrom" = "DESC"})
|
||||
* @ORM\OrderBy({"validFrom" = "DESC", "id" = "DESC"})
|
||||
* @Serializer\Groups({"write"})
|
||||
*/
|
||||
private Collection $addresses;
|
||||
|
Loading…
x
Reference in New Issue
Block a user