GFDRR / rdl-jkan

A lightweight, backend-free open data portal, powered by Jekyll
http://jkan.riskdatalibrary.org/
MIT License
1 stars 0 forks source link

Hazard type coastal flood also returns flood #21

Open pzwsk opened 1 month ago

pzwsk commented 1 month ago

When clicking on the facet filter coastal flood it returns datasets that are not coastal flood. I initially thought it was because it also returned flood hazard type but it looks like the issue is more generic to all hazard types.

https://jkan.riskdatalibrary.org/datasets/?hazard_type=coastal-flood

image

matamadio commented 1 month ago

This is the expected behaviour enforced by last update. The selection returns 1 coastal hazard dataset + all exposure datasets. To see only the hazard layer, you need to first select Hazard as category. I understand the intentions but I don't fully agree with this - it's not intuitive, it looks like a bug.