Add a query parameter to fetch multiple investigations by id
Currently, when looking at a group of parcels in the front-end (My Parcels page), we fetch all investigations and do a find
to find the investigations of parcels.
Instead, it would more performant to be able to fetch only the investigations we need. We could get the investigationId
s from the parcels and then launch a request of the type: /whatever/investigations?ids=[...]
.
@demariaa You are refactoring investigations' endpoint. Do you think it would be feasible ?