Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix General and Special General election display on election search page #2419

Open
patphongs opened this issue Oct 2, 2018 · 0 comments
Open

Comments

@patphongs
Copy link
Member

Issue

Since Gs and SGs can happen on the same day, sometimes G is populated and sometimes SG is populated. The problems are

  1. They're both right
  2. They're both in the API
  3. The results don't populate predictably - it can flip back and forth between showing the G and the SG.

Updated business rules

These updated business rules are intended to untangle display of G vs SG elections.

If the General (G) and Special General(SG) elections are on on the same day, we want to show both at the same time.

  • Display should be General/Special general election within the same result item

Otherwise, just show the next upcoming election, whether it's a G or SG.

  • Display should be General election OR Special general election
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: ❄️ Icebox
Development

No branches or pull requests

4 participants