{"action":"created","issue":{"url":"https://api.github.com/repos/inspirehep/inspire-next/issues/3611","repository_url":"https://api.github.com/repos/inspirehep/inspire-next","labels_url":"https://api.github.com/repos/inspirehep/inspire-next/issues/3611/labels{/name}","comments_url":"https://api.github.com/repos/inspirehep/inspire-next/issues/3611/comments","events_url":"https://api.github.com/repos/inspirehep/inspire-next/issues/3611/events","html_url":"https://github.com/inspirehep/inspire-next/pull/3611","id":352919752,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEwMTA4NjE0","number":3611,"title":"Replace InvenioRecordIndexer with InspireRecordIndexer","user":{"login":"pazembrz","id":41995670,"node_id":"MDQ6VXNlcjQxOTk1Njcw","avatar_url":"https://avatars0.githubusercontent.com/u/41995670?v=4","gravatar_id":"","url":"https://api.github.com/users/pazembrz","html_url":"https://github.com/pazembrz","followers_url":"https://api.github.com/users/pazembrz/followers","following_url":"https://api.github.com/users/pazembrz/following{/other_user}","gists_url":"https://api.github.com/users/pazembrz/gists{/gist_id}","starred_url":"https://api.github.com/users/pazembrz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pazembrz/subscriptions","organizations_url":"https://api.github.com/users/pazembrz/orgs","repos_url":"https://api.github.com/users/pazembrz/repos","events_url":"https://api.github.com/users/pazembrz/events{/privacy}","received_events_url":"https://api.github.com/users/pazembrz/received_events","type":"User","site_admin":false},"labels":[{"id":828439694,"node_id":"MDU6TGFiZWw4Mjg0Mzk2OTQ=","url":"https://api.github.com/repos/inspirehep/inspire-next/labels/Review:%20WIP","name":"Review: WIP","color":"e6e6e6","default":false}],"state":"open","locked":false,"assignee":{"login":"pazembrz","id":41995670,"node_id":"MDQ6VXNlcjQxOTk1Njcw","avatar_url":"https://avatars0.githubusercontent.com/u/41995670?v=4","gravatar_id":"","url":"https://api.github.com/users/pazembrz","html_url":"https://github.com/pazembrz","followers_url":"https://api.github.com/users/pazembrz/followers","following_url":"https://api.github.com/users/pazembrz/following{/other_user}","gists_url":"https://api.github.com/users/pazembrz/gists{/gist_id}","starred_url":"https://api.github.com/users/pazembrz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pazembrz/subscriptions","organizations_url":"https://api.github.com/users/pazembrz/orgs","repos_url":"https://api.github.com/users/pazembrz/repos","events_url":"https://api.github.com/users/pazembrz/events{/privacy}","received_events_url":"https://api.github.com/users/pazembrz/received_events","type":"User","site_admin":false},"assignees":[{"login":"pazembrz","id":41995670,"node_id":"MDQ6VXNlcjQxOTk1Njcw","avatar_url":"https://avatars0.githubusercontent.com/u/41995670?v=4","gravatar_id":"","url":"https://api.github.com/users/pazembrz","html_url":"https://github.com/pazembrz","followers_url":"https://api.github.com/users/pazembrz/followers","following_url":"https://api.github.com/users/pazembrz/following{/other_user}","gists_url":"https://api.github.com/users/pazembrz/gists{/gist_id}","starred_url":"https://api.github.com/users/pazembrz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pazembrz/subscriptions","organizations_url":"https://api.github.com/users/pazembrz/orgs","repos_url":"https://api.github.com/users/pazembrz/repos","events_url":"https://api.github.com/users/pazembrz/events{/privacy}","received_events_url":"https://api.github.com/users/pazembrz/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-08-22T11:53:55Z","updated_at":"2018-08-28T11:28:01Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/inspirehep/inspire-next/pulls/3611","html_url":"https://github.com/inspirehep/inspire-next/pull/3611","diff_url":"https://github.com/inspirehep/inspire-next/pull/3611.diff","patch_url":"https://github.com/inspirehep/inspire-next/pull/3611.patch"},"body":"updated tests. Fixing issue with missing citation_count on ES\r\n\r\nInvenioRecordIndexer assumes that all records are (Invenio) Records, so when record is passed to ES it cannot check its own citations count as the method for it is a part of InspireRecord\r\nThanks to this change ES will be now populated with proper data about citations\r\nINSPIR-1126\r\n\r\n## Checklist:\r\n<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->\r\n<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->\r\n- [x] I have all the information that I need (if not, move to `RFC` and look for it).\r\n- [x] I linked the related issue(s) in the corresponding commit logs.\r\n- [x] I wrote [good commit log messages](https://github.com/torvalds/subsurface-for-dirk/blob/5f15ad5a86ada3c5e574041a5f9d85235322dabb/README#L92-L119).\r\n- [x] My code follows the code style of this project.\r\n- [ ] I've added any new docs if API/utils methods were added.\r\n- [x] I have updated the existing documentation accordingly.\r\n- [x] I have added tests to cover my changes.\r\n- [x] All new and existing tests passed.\r\n<!--- After this you can move the PR to `Needs Review` -->\r\n"},"comment":{"url":"https://api.github.com/repos/inspirehep/inspire-next/issues/comments/416550076","html_url":"https://github.com/inspirehep/inspire-next/pull/3611#issuecomment-416550076","issue_url":"https://api.github.com/repos/inspirehep/inspire-next/issues/3611","id":416550076,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNjU1MDA3Ng==","user":{"login":"ammirate","id":8048761,"node_id":"MDQ6VXNlcjgwNDg3NjE=","avatar_url":"https://avatars0.githubusercontent.com/u/8048761?v=4","gravatar_id":"","url":"https://api.github.com/users/ammirate","html_url":"https://github.com/ammirate","followers_url":"https://api.github.com/users/ammirate/followers","following_url":"https://api.github.com/users/ammirate/following{/other_user}","gists_url":"https://api.github.com/users/ammirate/gists{/gist_id}","starred_url":"https://api.github.com/users/ammirate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ammirate/subscriptions","organizations_url":"https://api.github.com/users/ammirate/orgs","repos_url":"https://api.github.com/users/ammirate/repos","events_url":"https://api.github.com/users/ammirate/events{/privacy}","received_events_url":"https://api.github.com/users/ammirate/received_events","type":"User","site_admin":false},"created_at":"2018-08-28T11:28:01Z","updated_at":"2018-08-28T11:28:01Z","author_association":"CONTRIBUTOR","body":"ci test please"}}
{"actor":{"display_login":"ammirate"}}