fix(consents): chronological order
Compare changes
![]() |
---|
feat(profile): add... |
fix(annuaire): remove... |
This MR fixes the descending order problem on consents by removing ordering from frontend.
The backend already responds with consents in descending order, so ther is no need to do it twice in frontend + it was ordering dates based on their formatted string value (DD/MM/YYYY) so it only ordered based on the day.
These are strongly recommended to assist reviewers and reduce the time to merge your change.
docker compose up -d
, then launch debug configurationyarn local-up
:warning::warning::warning:
You may need to delete your local consents
database and re-launch backend debug config to regenerate it. This is due to the change of consent IDs type.
Then use Postman or PhpMyAdmin to create consents with different day, month and year of creation
Launch frontend, check that the order is alright
To be completed by the chosen reviewer.
Related to #25 (closed)