Filter only on currently available destinations
Objective
- Being able to filter only on open destinations, on the map and search pages (it's the same component)
Context
Back
- Every night, the UTC DRI data are copied from the DSI to REX-DRI source
- You should be able to plug yourself in the
__import_opened_destinations
method and theupdate
method, to track which partners are "open" on the UTC ENT. - You should also know (and maybe use -- it's up to you) that some denormalized data is updated every night on the
University
model. This is the data that is used for filtering.
Front
- The filter Component is [here][https://gitlab.utc.fr/rex-dri/rex-dri/-/blob/dev/frontend/src/components/filter/Filter.jsx)
- The filtering itself is handled within the
FilteringService
class
Have fun
Bonus point if you throw some transaction somewhere