{"action":"created","issue":{"url":"https://api.github.com/repos/18F/openFEC-web-app/issues/1242","repository_url":"https://api.github.com/repos/18F/openFEC-web-app","labels_url":"https://api.github.com/repos/18F/openFEC-web-app/issues/1242/labels{/name}","comments_url":"https://api.github.com/repos/18F/openFEC-web-app/issues/1242/comments","events_url":"https://api.github.com/repos/18F/openFEC-web-app/issues/1242/events","html_url":"https://github.com/18F/openFEC-web-app/pull/1242","id":157791404,"number":1242,"title":"[WIP] Adding report year filter","user":{"login":"noahmanger","id":1696495,"avatar_url":"https://avatars.githubusercontent.com/u/1696495?v=3","gravatar_id":"","url":"https://api.github.com/users/noahmanger","html_url":"https://github.com/noahmanger","followers_url":"https://api.github.com/users/noahmanger/followers","following_url":"https://api.github.com/users/noahmanger/following{/other_user}","gists_url":"https://api.github.com/users/noahmanger/gists{/gist_id}","starred_url":"https://api.github.com/users/noahmanger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noahmanger/subscriptions","organizations_url":"https://api.github.com/users/noahmanger/orgs","repos_url":"https://api.github.com/users/noahmanger/repos","events_url":"https://api.github.com/users/noahmanger/events{/privacy}","received_events_url":"https://api.github.com/users/noahmanger/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-05-31T23:17:02Z","updated_at":"2016-06-02T01:02:22Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/18F/openFEC-web-app/pulls/1242","html_url":"https://github.com/18F/openFEC-web-app/pull/1242","diff_url":"https://github.com/18F/openFEC-web-app/pull/1242.diff","patch_url":"https://github.com/18F/openFEC-web-app/pull/1242.patch"},"body":"Adds the `rpt_yr` filter to receipts, disbursements and individual contributions pages.\r\n\r\n![image](https://cloud.githubusercontent.com/assets/1696495/15693492/70f778d4-274a-11e6-96b4-7f03ff869b6a.png)\r\n\r\nA few questions on this:\r\n\r\n1. What should the `name` of this field be? Is it `rpt_yr` or something more readable like `report_year`?\r\n2. Even if it's report year, I think we may want to label it something more friendly, but I'm not sure what that is (cc @emileighoutlaw )\r\n3. Should values be presented as two-year periods (e.g. `2015-2016`) or individual years? \r\n4. What should the tooltip say? I think it ought to both explain what the filter does as well as why it's necessary to always have a year selected. Current language:\r\n> The two-year period that includes the election which the transaction was reported for. Due to the large number of itemized transactions, you can only view one period at a time.\r\n\r\nRequires https://github.com/18F/openFEC/pull/1429\r\n\r\nResolves https://github.com/18F/openFEC/issues/1674"},"comment":{"url":"https://api.github.com/repos/18F/openFEC-web-app/issues/comments/223168996","html_url":"https://github.com/18F/openFEC-web-app/pull/1242#issuecomment-223168996","issue_url":"https://api.github.com/repos/18F/openFEC-web-app/issues/1242","id":223168996,"user":{"login":"noahmanger","id":1696495,"avatar_url":"https://avatars.githubusercontent.com/u/1696495?v=3","gravatar_id":"","url":"https://api.github.com/users/noahmanger","html_url":"https://github.com/noahmanger","followers_url":"https://api.github.com/users/noahmanger/followers","following_url":"https://api.github.com/users/noahmanger/following{/other_user}","gists_url":"https://api.github.com/users/noahmanger/gists{/gist_id}","starred_url":"https://api.github.com/users/noahmanger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noahmanger/subscriptions","organizations_url":"https://api.github.com/users/noahmanger/orgs","repos_url":"https://api.github.com/users/noahmanger/repos","events_url":"https://api.github.com/users/noahmanger/events{/privacy}","received_events_url":"https://api.github.com/users/noahmanger/received_events","type":"User","site_admin":false},"created_at":"2016-06-02T01:02:22Z","updated_at":"2016-06-02T01:02:22Z","body":"Updated this to meet the needs of the way the filter works now. See https://github.com/18F/fec-style/pull/380 for a full explanation. "}}
{"actor":{"display_login":"noahmanger"}}