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

PAC and Parties total endpoints broken #4444

Closed
4 tasks done
patphongs opened this issue Jul 1, 2020 · 0 comments · Fixed by #4449
Closed
4 tasks done

PAC and Parties total endpoints broken #4444

patphongs opened this issue Jul 1, 2020 · 0 comments · Fixed by #4449
Assignees
Labels

Comments

@patphongs
Copy link
Member

patphongs commented Jul 1, 2020

When trying to filter PAC or Parties using the /totals/ endpoint, the only result is Actblue. Even though the count shows 7647 for parties and 7219 for PACs.

https://api.open.fec.gov/v1/totals/pac/?per_page=10&api_key=DEMO_KEY&sort=-receipts&cycle=2020

https://api.open.fec.gov/v1/totals/parties/?per_page=10&api_key=DEMO_KEY&sort=-receipts&cycle=2020

Completion criteria:

  • fix endpoint to return all results

  • remove committee_type_full filter field because it's not be used for now.

  • add backend code for committee_designation_full filter

  • add test case

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants