You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Back to ballot takes you to the non-Alabama race, and it should.
Solution: When you are on a candidate page with "/b/btdb/" (back to default ballot) at the end, make the "Back to Ballot" button take the voter to this url (with the "1111" as the google_civic_election_id): /ballot/election/1111
OR /ballot/id/:ballot_returned_we_vote_id
If you are on a candidate page with "/btvg/" (back to voter guide) like this: https://wevote.us/candidate/wv02cand30772/btvg/wv02org145
...then take them back to:
/voterguide/:organization_we_vote_id/ballot/election/:google_civic_election_id
OR /voterguide/:organization_we_vote_id/ballot/id/:ballot_returned_we_vote_id
The text was updated successfully, but these errors were encountered:
* Fixed bug with voter guide page crashing when clicking "All Positions"
or "Listening To"
* Converted VoterGuideStore to camel case
* Got a start on camel case conversions in VoterStore
Please describe the issue (What happens? What do you expect?)
If I send a candidate link to a friend, the "Back to Ballot" link should take me to the election that the candidate is in, and it doesn't currently.
Steps to reproduce the problem (1, 2, 3...), including links
Solution: When you are on a candidate page with "/b/btdb/" (back to default ballot) at the end, make the "Back to Ballot" button take the voter to this url (with the "1111" as the google_civic_election_id): /ballot/election/1111
OR /ballot/id/:ballot_returned_we_vote_id
If you are on a candidate page with "/btvg/" (back to voter guide) like this: https://wevote.us/candidate/wv02cand30772/btvg/wv02org145
...then take them back to:
/voterguide/:organization_we_vote_id/ballot/election/:google_civic_election_id
OR /voterguide/:organization_we_vote_id/ballot/id/:ballot_returned_we_vote_id
The text was updated successfully, but these errors were encountered: