Fix subregion filter on projects page#457
Conversation
|
Hello Jakes, I have tested the filters on the project page and they work alright. I have noticed that there are also filters on the disasters and technologies page. Kindly have a look at the two too |
I believe this PR will fix those too |
|
Hello @okjake, this is a great fix. However it needs further adjustments. Make the filter to be cascading (disasters and technologies page) i.e ensure the subregion options is associated to the selected region (just like the filters on the other pages) |
|
Hello @okjake, thanks for your PR. Kindly fix this the africans subregions are not part of asia |
|
Yeah I see - this is due to deriving the data from the blips and the ambiguity when a project has region ['Africa', 'Asia'] and subregion ['Southern Asia', 'Middle Africa'] for example. I've added a utility to pull and cache the canonical location hierarchy from supabase instead which seems to work better. |

No description provided.