owid-grapher
owid-grapher copied to clipboard
Global country selection not applied on page load
From issue spotting session (original issue)
Description
On page load, the global country selection defined in the URL is not applied. Instead, the authored country selection is shown.
https://ourworldindata.org/covid-cases?country=GNB~VAT~HKG~CHL~PAN#coronavirus-sequences-by-variant
Expected behaviour
The global country selection should override the authored country selection, including on page load.
Steps to reproduce
- Visit https://ourworldindata.org/covid-cases?country=GNB~VAT~HKG~CHL~PAN#coronavirus-sequences-by-variant
- Check the country selection in the charts in this section: they are different from the countries listed in the floating country selector