devinit / datahub

Datahub v2
http://data.devinit.org
15 stars 3 forks source link

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

Open jamesharle opened 5 years ago

jamesharle commented 5 years ago

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):

Smartphone (please complete the following information):

Environment/Server:


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

Additional Context Add any other context about the problem here.

Requested Delivery Date: dd/MMM/YYYY

edwinmp commented 5 years ago

Hi @jamesharle ...this should be fixed on staging.