fix(solidary): fixs the way the solidary operator territories are obtained
Why this Merge Request
To obtain the territories for which the user is an operator, we start from the table of territories for which the user is an admin and then add the additional territories. The initial table was always an empty table.
Territory expansion does not return correct result.
What is implemented, what is the chosen solution
- Adds the territories array as argument to the next filter.
Related issues and impact on other project in codebase
Original commit 4796e3c8.
Checklists
Merge Request
-
Target branch identified. -
Code based on last version of target branch (i.e. do a git clone origin dev
localy in your branch if it came fromdev
before asking for a MR. You'll reduce the risks for conflicts) -
Description filled. -
Impact on other project codebase identified. -
Test run in locally. -
Need to add a .env variable (possibilty also in twig.yaml) in every client checked. -
Need to adapt overloaded components (MHeader, MFooter...) in every client checked. -
Add something to do in the met-mep file checked. -
Every migrations has been tested on local environnement
Code Review
-
The target branch of the MR and the Version Cible
field in redmine are the same. -
Code is easily readable. -
Commit are all related to MR and well written (Atomic commit). -
No useless logging or debugging code.
Closes #8229
Edited by Olivier Fillol