Closed lucasrodes closed 2 days ago
In this slack conversation, Ike found this source of the bug:
In Explorer.tsx, the partialGrapherConfig for 812749 has 812749 twice in its dimensions. (edited) The duplicate is getting pushed in here: https://github.com/owid/owid-grapher/blob/9c1a2a26de793f46048a7fbfa6f318eac3220f6b/explorer/Explorer.tsx#L593 So one fix would be to not push duplicates from yVariableIdsList into dimensions,
@larsyencken should we consider this fixed?
cc. @ikesau
Description
For some explorer views, the same indicator (its time-series, legend name, etc) is shown more than once. I think this may only be happening for
catalogPath-based
explorers.Expected
Indicators should be shown only once.
Context and Examples
Issue first raised by Bastian (https://github.com/owid/owid-issues/issues/1650#issuecomment-2338126422), then reported on Slack.
Conflict explorer
View
I also realised that if I switch between views (and keep doing it), the indicators are added again, and again, ...
Population & demography explorer
View
Migration explorer
View
Steps to reproduce
Optional:
Environment
For desktop, provide: