{"action":"created","issue":{"url":"https://api.github.com/repos/alphagov/rummager/issues/1298","repository_url":"https://api.github.com/repos/alphagov/rummager","labels_url":"https://api.github.com/repos/alphagov/rummager/issues/1298/labels{/name}","comments_url":"https://api.github.com/repos/alphagov/rummager/issues/1298/comments","events_url":"https://api.github.com/repos/alphagov/rummager/issues/1298/events","html_url":"https://github.com/alphagov/rummager/pull/1298","id":371056202,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIzNTg5Njcx","number":1298,"title":"Allow filtering with topical_events","user":{"login":"bilbof","id":8124374,"node_id":"MDQ6VXNlcjgxMjQzNzQ=","avatar_url":"https://avatars1.githubusercontent.com/u/8124374?v=4","gravatar_id":"","url":"https://api.github.com/users/bilbof","html_url":"https://github.com/bilbof","followers_url":"https://api.github.com/users/bilbof/followers","following_url":"https://api.github.com/users/bilbof/following{/other_user}","gists_url":"https://api.github.com/users/bilbof/gists{/gist_id}","starred_url":"https://api.github.com/users/bilbof/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bilbof/subscriptions","organizations_url":"https://api.github.com/users/bilbof/orgs","repos_url":"https://api.github.com/users/bilbof/repos","events_url":"https://api.github.com/users/bilbof/events{/privacy}","received_events_url":"https://api.github.com/users/bilbof/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-10-17T12:48:14Z","updated_at":"2018-10-18T15:02:55Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/alphagov/rummager/pulls/1298","html_url":"https://github.com/alphagov/rummager/pull/1298","diff_url":"https://github.com/alphagov/rummager/pull/1298.diff","patch_url":"https://github.com/alphagov/rummager/pull/1298.patch"},"body":"This makes it possible to search for documents related to topical_events.\r\nFor example: `rummager.search(filter_topical_events: 'budget-2018')`.\r\n\r\n`topical_events` are currently slugs like `budget-2018`, not full topical event resources.\r\n\r\nThis change enables some Whitehall finders to use rummager.\r\n\r\nRelated Trello card: https://trello.com/c/FSMKn70m/26-make-it-possible-to-filter-rummager-by-topical-events.\r\n\r\nExample Trello card this unblocks: https://trello.com/c/Dl8JvGH4/16-allow-news-to-appear-on-topical-event-pages.\r\n\r\nThis currently is an incomplete task, as we will need to populate the topical_events field\r\nwe will need to also make a change in Whitehall and possibly also the publishing-api in\r\norder to make filtering by topical events useful.\r\n\r\nAccording to the [adding new field](https://github.com/alphagov/rummager/blob/master/doc/adding-new-fields.md) doc, the field will become usable after 24 hours:\r\n\r\n> On production, this is done automatically every night by the search_fetch_analytics jenkins job."},"comment":{"url":"https://api.github.com/repos/alphagov/rummager/issues/comments/431044201","html_url":"https://github.com/alphagov/rummager/pull/1298#issuecomment-431044201","issue_url":"https://api.github.com/repos/alphagov/rummager/issues/1298","id":431044201,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMTA0NDIwMQ==","user":{"login":"tijmenb","id":233676,"node_id":"MDQ6VXNlcjIzMzY3Ng==","avatar_url":"https://avatars2.githubusercontent.com/u/233676?v=4","gravatar_id":"","url":"https://api.github.com/users/tijmenb","html_url":"https://github.com/tijmenb","followers_url":"https://api.github.com/users/tijmenb/followers","following_url":"https://api.github.com/users/tijmenb/following{/other_user}","gists_url":"https://api.github.com/users/tijmenb/gists{/gist_id}","starred_url":"https://api.github.com/users/tijmenb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tijmenb/subscriptions","organizations_url":"https://api.github.com/users/tijmenb/orgs","repos_url":"https://api.github.com/users/tijmenb/repos","events_url":"https://api.github.com/users/tijmenb/events{/privacy}","received_events_url":"https://api.github.com/users/tijmenb/received_events","type":"User","site_admin":false},"created_at":"2018-10-18T15:02:55Z","updated_at":"2018-10-18T15:02:55Z","author_association":"MEMBER","body":"> this is done automatically every night\r\n\r\nThis _might_ be a lie - the indexing process changed so this may have become outdated."}}
{"actor":{"display_login":"tijmenb"}}