owid-grapher icon indicating copy to clipboard operation
owid-grapher copied to clipboard

Global country selection not applied on page load

Open mlbrgl opened this issue 2 years ago • 0 comments

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.

Screenshot 2022-05-31 at 09 48 49

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

  1. Visit https://ourworldindata.org/covid-cases?country=GNB~VAT~HKG~CHL~PAN#coronavirus-sequences-by-variant
  2. Check the country selection in the charts in this section: they are different from the countries listed in the floating country selector

mlbrgl avatar May 31 '22 07:05 mlbrgl