-
Notifications
You must be signed in to change notification settings - Fork 106
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
Feature/cycle filter #719
Feature/cycle filter #719
Conversation
* Make reports filterable by cycle and year * Make totals filterable by cycle * Update unit tests
* Add cycle filters to candidate and committee resources * Remove year filter on candidates until load and expire dates are valid * Move default cycle filtering to web app * Update unit tests
Note: Parallel changes to webapp in fecgov/openFEC-web-app#156. |
parser.add_argument('state', type=str, help='Two digit U.S. State committee is registered in') | ||
parser.add_argument('committee_id', type=str, action='append', help="Committee's FEC ID") | ||
parser.add_argument('candidate_id', type=str, action='append', help="Candidate's FEC ID") | ||
parser.add_argument('state', type=str, action='append', help='Two digit U.S. State committee is registered in') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nitpick, not related to this task: the help text should say "two character", not "two digit".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated. Once the API docs are ready, I think we should have a thorough review of the help text.
Make all resources filterable by election cycle, and year where appropriate.
[Resolves #701]
[Resolves #706]