-
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
Included amended F3* records. #1289
Included amended F3* records. #1289
Conversation
* Include F3* records with non-null `expire_date` * Add "amended" filter to committee reports views * Index `expire_date` Note: this requires a quick patch to the frontend so that only current reports are requested for the committee detail view. This will be submitted shortly. [Resolves fecgov/openFEC-web-app#874]
One point about this: we're adding a new query parameter to the filings endpoint called "amended". If "true", only show amended records; if "false", only show non-amended records; if not specified, show all records. This is a concise way to describe the filtering rules, but it occurs to me that it might be confusing. Happy to revise if folks have better ideas, but this does solve the immediate problem. |
Yea the language on that is a bit confusing. How about: |
Will we also still have the |
How about keeping this for now, so that there isn't breaking changes and doing this as part of some systematic clean up later? |
Could we keep it on the API but remove the filter on the /filings page and On Thu, Oct 22, 2015 at 12:00 PM, Lindsay Young [email protected]
Noah Manger |
Absolutely, @noahmanger! |
Well, no. The new filter ("amended", potentially to be renamed to "is_amended") applies to the reports view, not the filings view. We don't currently have that information for filings. |
I forgot we don't have that view. Thanks Josh |
@noahmanger this patch makes zero changes to the filings view, so that filter doesn't need to change. I'm not sure if it's clear or useful, but that's a separate question. |
Gotcha. So amended reports will still be distinguished by |
We don't have a good way to show what has been amended in the filings, which is what is listed and filterable on that page. Once you click on this to look at the panel, we have the reports view, which will have the true/false for amendments. is_amended true/false form the reports and N, A or null from filings don't correspond to each other because one table only knows if something has been amended and the other only knows if the record is an amendment. |
LGTM will merge when tests pass. |
Included amended F3* records.
expire_date
expire_date
Note: this requires a quick patch to the frontend so that only current
reports are requested for the committee detail view. This will be
submitted shortly.
[Resolves https://github.com/fecgov/openFEC-web-app/issues/874]