devinit / devinit/datahub

Sharing link for government revenue (including grants), % of GDP broken

Open
#453 1 comment 0 reactions 1 assignee Claimed by @edwinmp View on GitHub
frontend
Dominant language
TypeScript
Stars
15
Forks
4
PR merge metrics
No merged PRs in 30d

Description

## I'm submitting a ...
Check one of the following options with "x" and add the appropriate label to the issue as well



[X] Bug report
[ ] Regression (behaviour that used to work and stopped working in a new release)

**Describe the Issue**
When user configures global picture/government finance graph to government revenue (including grants), % of GDP, the share this chart button (as configured) produces a shortened link that directs user to a different /government finance indicator (government revenue per person (including grants), 2011 PPP$)

**To Reproduce**
Replace the content below with the steps to reproduce the behaviour.
1. Go to 'http://data.devinit.org/global-picture/government-finance'
2. Click on 'government revenue (including grants), % of GDP' on dropdown menu
3. Click on 'share this chart'
4. Copy link
5. Follow link
6. See error

**Expected Behaviour**
The correct behaviour would see the button producing a link that redirects to the correct indicator (government revenue (including grants), % of GDP)

**Screenshots/GIF**
If applicable, add screenshots or a GIF to help explain your problem.

**Desktop (please complete the following information):**
- OS: [Windows 7]
- Browser [Chrome]
- Version [69.0.3497.100]

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Environment/Server:**



- [ ] Production
- [ ] Staging
- [ ] Test
- [ ] Development

**Additional Context**
Add any other context about the problem here.

Requested Delivery Date: dd/MMM/YYYY

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.