{"action":"created","comment":{"url":"https://api.github.com/repos/indico/indico/pulls/comments/51685961","id":51685961,"diff_hunk":"@@ -77,9 +78,22 @@ def _inject_event_header(event, **kwargs):\n                 .order_by(db.func.lower(RegistrationForm.title))\n                 .all())\n \n-    participants = get_unique_published_registrations(event)\n+    # A participant could appear more than once in the list in case he register to multiple registration form.","path":"indico/modules/events/registration/__init__.py","position":22,"original_position":22,"commit_id":"92e540eb8b7b1e104a950419dcf449505fdcc362","original_commit_id":"92e540eb8b7b1e104a950419dcf449505fdcc362","user":{"login":"mic4ael","id":3616940,"avatar_url":"https://avatars.githubusercontent.com/u/3616940?v=3","gravatar_id":"","url":"https://api.github.com/users/mic4ael","html_url":"https://github.com/mic4ael","followers_url":"https://api.github.com/users/mic4ael/followers","following_url":"https://api.github.com/users/mic4ael/following{/other_user}","gists_url":"https://api.github.com/users/mic4ael/gists{/gist_id}","starred_url":"https://api.github.com/users/mic4ael/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mic4ael/subscriptions","organizations_url":"https://api.github.com/users/mic4ael/orgs","repos_url":"https://api.github.com/users/mic4ael/repos","events_url":"https://api.github.com/users/mic4ael/events{/privacy}","received_events_url":"https://api.github.com/users/mic4ael/received_events","type":"User","site_admin":false},"body":"in case he register**s**","created_at":"2016-02-03T07:20:06Z","updated_at":"2016-02-03T07:20:06Z","html_url":"https://github.com/indico/indico/pull/2233#discussion_r51685961","pull_request_url":"https://api.github.com/repos/indico/indico/pulls/2233","_links":{"self":{"href":"https://api.github.com/repos/indico/indico/pulls/comments/51685961"},"html":{"href":"https://github.com/indico/indico/pull/2233#discussion_r51685961"},"pull_request":{"href":"https://api.github.com/repos/indico/indico/pulls/2233"}}},"pull_request":{"url":"https://api.github.com/repos/indico/indico/pulls/2233","id":58021393,"html_url":"https://github.com/indico/indico/pull/2233","diff_url":"https://github.com/indico/indico/pull/2233.diff","patch_url":"https://github.com/indico/indico/pull/2233.patch","issue_url":"https://api.github.com/repos/indico/indico/issues/2233","number":2233,"state":"open","locked":false,"title":"Optionally display check-in status","user":{"login":"florv","id":2007047,"avatar_url":"https://avatars.githubusercontent.com/u/2007047?v=3","gravatar_id":"","url":"https://api.github.com/users/florv","html_url":"https://github.com/florv","followers_url":"https://api.github.com/users/florv/followers","following_url":"https://api.github.com/users/florv/following{/other_user}","gists_url":"https://api.github.com/users/florv/gists{/gist_id}","starred_url":"https://api.github.com/users/florv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/florv/subscriptions","organizations_url":"https://api.github.com/users/florv/orgs","repos_url":"https://api.github.com/users/florv/repos","events_url":"https://api.github.com/users/florv/events{/privacy}","received_events_url":"https://api.github.com/users/florv/received_events","type":"User","site_admin":false},"body":"Check-in status can optionally be shown on the event page (for lectures and meetings) and the participant list (for conferences). The settings is per-registration. This PR fixes #2202.\r\n\r\nCommit `f508d65` will also make a person with multiple registrations appear multiple times on the event page (previously this was the case only for persons without account). This case is unlikely and thus not worth handling in a special way.","created_at":"2016-02-02T17:33:58Z","updated_at":"2016-02-03T07:20:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e3b8e705320654292cab2c889ba79d9a01fa546b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/indico/indico/pulls/2233/commits","review_comments_url":"https://api.github.com/repos/indico/indico/pulls/2233/comments","review_comment_url":"https://api.github.com/repos/indico/indico/pulls/comments{/number}","comments_url":"https://api.github.com/repos/indico/indico/issues/2233/comments","statuses_url":"https://api.github.com/repos/indico/indico/statuses/92e540eb8b7b1e104a950419dcf449505fdcc362","head":{"label":"florv:show-checked-in-status","ref":"show-checked-in-status","sha":"92e540eb8b7b1e104a950419dcf449505fdcc362","user":{"login":"florv","id":2007047,"avatar_url":"https://avatars.githubusercontent.com/u/2007047?v=3","gravatar_id":"","url":"https://api.github.com/users/florv","html_url":"https://github.com/florv","followers_url":"https://api.github.com/users/florv/followers","following_url":"https://api.github.com/users/florv/following{/other_user}","gists_url":"https://api.github.com/users/florv/gists{/gist_id}","starred_url":"https://api.github.com/users/florv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/florv/subscriptions","organizations_url":"https://api.github.com/users/florv/orgs","repos_url":"https://api.github.com/users/florv/repos","events_url":"https://api.github.com/users/florv/events{/privacy}","received_events_url":"https://api.github.com/users/florv/received_events","type":"User","site_admin":false},"repo":{"id":50827127,"name":"indico","full_name":"florv/indico","owner":{"login":"florv","id":2007047,"avatar_url":"https://avatars.githubusercontent.com/u/2007047?v=3","gravatar_id":"","url":"https://api.github.com/users/florv","html_url":"https://github.com/florv","followers_url":"https://api.github.com/users/florv/followers","following_url":"https://api.github.com/users/florv/following{/other_user}","gists_url":"https://api.github.com/users/florv/gists{/gist_id}","starred_url":"https://api.github.com/users/florv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/florv/subscriptions","organizations_url":"https://api.github.com/users/florv/orgs","repos_url":"https://api.github.com/users/florv/repos","events_url":"https://api.github.com/users/florv/events{/privacy}","received_events_url":"https://api.github.com/users/florv/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/florv/indico","description":"The Indico Project","fork":true,"url":"https://api.github.com/repos/florv/indico","forks_url":"https://api.github.com/repos/florv/indico/forks","keys_url":"https://api.github.com/repos/florv/indico/keys{/key_id}","collaborators_url":"https://api.github.com/repos/florv/indico/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/florv/indico/teams","hooks_url":"https://api.github.com/repos/florv/indico/hooks","issue_events_url":"https://api.github.com/repos/florv/indico/issues/events{/number}","events_url":"https://api.github.com/repos/florv/indico/events","assignees_url":"https://api.github.com/repos/florv/indico/assignees{/user}","branches_url":"https://api.github.com/repos/florv/indico/branches{/branch}","tags_url":"https://api.github.com/repos/florv/indico/tags","blobs_url":"https://api.github.com/repos/florv/indico/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/florv/indico/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/florv/indico/git/refs{/sha}","trees_url":"https://api.github.com/repos/florv/indico/git/trees{/sha}","statuses_url":"https://api.github.com/repos/florv/indico/statuses/{sha}","languages_url":"https://api.github.com/repos/florv/indico/languages","stargazers_url":"https://api.github.com/repos/florv/indico/stargazers","contributors_url":"https://api.github.com/repos/florv/indico/contributors","subscribers_url":"https://api.github.com/repos/florv/indico/subscribers","subscription_url":"https://api.github.com/repos/florv/indico/subscription","commits_url":"https://api.github.com/repos/florv/indico/commits{/sha}","git_commits_url":"https://api.github.com/repos/florv/indico/git/commits{/sha}","comments_url":"https://api.github.com/repos/florv/indico/comments{/number}","issue_comment_url":"https://api.github.com/repos/florv/indico/issues/comments{/number}","contents_url":"https://api.github.com/repos/florv/indico/contents/{+path}","compare_url":"https://api.github.com/repos/florv/indico/compare/{base}...{head}","merges_url":"https://api.github.com/repos/florv/indico/merges","archive_url":"https://api.github.com/repos/florv/indico/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/florv/indico/downloads","issues_url":"https://api.github.com/repos/florv/indico/issues{/number}","pulls_url":"https://api.github.com/repos/florv/indico/pulls{/number}","milestones_url":"https://api.github.com/repos/florv/indico/milestones{/number}","notifications_url":"https://api.github.com/repos/florv/indico/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/florv/indico/labels{/name}","releases_url":"https://api.github.com/repos/florv/indico/releases{/id}","deployments_url":"https://api.github.com/repos/florv/indico/deployments","created_at":"2016-02-01T08:57:59Z","updated_at":"2016-02-01T08:58:04Z","pushed_at":"2016-02-02T17:24:26Z","git_url":"git://github.com/florv/indico.git","ssh_url":"git@github.com:florv/indico.git","clone_url":"https://github.com/florv/indico.git","svn_url":"https://github.com/florv/indico","homepage":"http://indico-software.org","size":182145,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"indico:devel","ref":"devel","sha":"aa9b2037558aa22e8245980d8118634ab8070eb7","user":{"login":"indico","id":715236,"avatar_url":"https://avatars.githubusercontent.com/u/715236?v=3","gravatar_id":"","url":"https://api.github.com/users/indico","html_url":"https://github.com/indico","followers_url":"https://api.github.com/users/indico/followers","following_url":"https://api.github.com/users/indico/following{/other_user}","gists_url":"https://api.github.com/users/indico/gists{/gist_id}","starred_url":"https://api.github.com/users/indico/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/indico/subscriptions","organizations_url":"https://api.github.com/users/indico/orgs","repos_url":"https://api.github.com/users/indico/repos","events_url":"https://api.github.com/users/indico/events{/privacy}","received_events_url":"https://api.github.com/users/indico/received_events","type":"Organization","site_admin":false},"repo":{"id":2113067,"name":"indico","full_name":"indico/indico","owner":{"login":"indico","id":715236,"avatar_url":"https://avatars.githubusercontent.com/u/715236?v=3","gravatar_id":"","url":"https://api.github.com/users/indico","html_url":"https://github.com/indico","followers_url":"https://api.github.com/users/indico/followers","following_url":"https://api.github.com/users/indico/following{/other_user}","gists_url":"https://api.github.com/users/indico/gists{/gist_id}","starred_url":"https://api.github.com/users/indico/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/indico/subscriptions","organizations_url":"https://api.github.com/users/indico/orgs","repos_url":"https://api.github.com/users/indico/repos","events_url":"https://api.github.com/users/indico/events{/privacy}","received_events_url":"https://api.github.com/users/indico/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/indico/indico","description":"The Indico Project","fork":false,"url":"https://api.github.com/repos/indico/indico","forks_url":"https://api.github.com/repos/indico/indico/forks","keys_url":"https://api.github.com/repos/indico/indico/keys{/key_id}","collaborators_url":"https://api.github.com/repos/indico/indico/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/indico/indico/teams","hooks_url":"https://api.github.com/repos/indico/indico/hooks","issue_events_url":"https://api.github.com/repos/indico/indico/issues/events{/number}","events_url":"https://api.github.com/repos/indico/indico/events","assignees_url":"https://api.github.com/repos/indico/indico/assignees{/user}","branches_url":"https://api.github.com/repos/indico/indico/branches{/branch}","tags_url":"https://api.github.com/repos/indico/indico/tags","blobs_url":"https://api.github.com/repos/indico/indico/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/indico/indico/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/indico/indico/git/refs{/sha}","trees_url":"https://api.github.com/repos/indico/indico/git/trees{/sha}","statuses_url":"https://api.github.com/repos/indico/indico/statuses/{sha}","languages_url":"https://api.github.com/repos/indico/indico/languages","stargazers_url":"https://api.github.com/repos/indico/indico/stargazers","contributors_url":"https://api.github.com/repos/indico/indico/contributors","subscribers_url":"https://api.github.com/repos/indico/indico/subscribers","subscription_url":"https://api.github.com/repos/indico/indico/subscription","commits_url":"https://api.github.com/repos/indico/indico/commits{/sha}","git_commits_url":"https://api.github.com/repos/indico/indico/git/commits{/sha}","comments_url":"https://api.github.com/repos/indico/indico/comments{/number}","issue_comment_url":"https://api.github.com/repos/indico/indico/issues/comments{/number}","contents_url":"https://api.github.com/repos/indico/indico/contents/{+path}","compare_url":"https://api.github.com/repos/indico/indico/compare/{base}...{head}","merges_url":"https://api.github.com/repos/indico/indico/merges","archive_url":"https://api.github.com/repos/indico/indico/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/indico/indico/downloads","issues_url":"https://api.github.com/repos/indico/indico/issues{/number}","pulls_url":"https://api.github.com/repos/indico/indico/pulls{/number}","milestones_url":"https://api.github.com/repos/indico/indico/milestones{/number}","notifications_url":"https://api.github.com/repos/indico/indico/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/indico/indico/labels{/name}","releases_url":"https://api.github.com/repos/indico/indico/releases{/id}","deployments_url":"https://api.github.com/repos/indico/indico/deployments","created_at":"2011-07-27T13:56:30Z","updated_at":"2016-02-02T19:13:31Z","pushed_at":"2016-02-02T17:33:58Z","git_url":"git://github.com/indico/indico.git","ssh_url":"git@github.com:indico/indico.git","clone_url":"https://github.com/indico/indico.git","svn_url":"https://github.com/indico/indico","homepage":"http://indico-software.org","size":192992,"stargazers_count":128,"watchers_count":128,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":68,"mirror_url":null,"open_issues_count":583,"forks":68,"open_issues":583,"watchers":128,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/indico/indico/pulls/2233"},"html":{"href":"https://github.com/indico/indico/pull/2233"},"issue":{"href":"https://api.github.com/repos/indico/indico/issues/2233"},"comments":{"href":"https://api.github.com/repos/indico/indico/issues/2233/comments"},"review_comments":{"href":"https://api.github.com/repos/indico/indico/pulls/2233/comments"},"review_comment":{"href":"https://api.github.com/repos/indico/indico/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/indico/indico/pulls/2233/commits"},"statuses":{"href":"https://api.github.com/repos/indico/indico/statuses/92e540eb8b7b1e104a950419dcf449505fdcc362"}}}}