{"action":"created","comment":{"url":"https://api.github.com/repos/moderntribe/event-tickets/pulls/comments/65883433","id":65883433,"diff_hunk":"@@ -20,74 +20,90 @@\n $user_info = get_userdata( $user_id );\n $attendees = $view->get_event_rsvp_attendees( $post_id, $user_id );\n \n-\n if ( ! $view->has_rsvp_attendees( $post_id, $user_id ) ) {\n \treturn;\n }\n-$first_attendee = reset( $attendees );\n+\n+$attendee_groups = array();\n+foreach ( $attendees as $attendee ) {","path":"src/views/tickets/orders-rsvp.php","position":null,"original_position":11,"commit_id":"c982ef2cc23926cea2f3c2a6f4d9bf33746d6d55","original_commit_id":"15ae70caf4a6cd13f642b74e8507cb8b2151aaaa","user":{"login":"borkweb","id":430385,"avatar_url":"https://avatars.githubusercontent.com/u/430385?v=3","gravatar_id":"","url":"https://api.github.com/users/borkweb","html_url":"https://github.com/borkweb","followers_url":"https://api.github.com/users/borkweb/followers","following_url":"https://api.github.com/users/borkweb/following{/other_user}","gists_url":"https://api.github.com/users/borkweb/gists{/gist_id}","starred_url":"https://api.github.com/users/borkweb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/borkweb/subscriptions","organizations_url":"https://api.github.com/users/borkweb/orgs","repos_url":"https://api.github.com/users/borkweb/repos","events_url":"https://api.github.com/users/borkweb/events{/privacy}","received_events_url":"https://api.github.com/users/borkweb/received_events","type":"User","site_admin":false},"body":"Agreed. I moved that logic to `Tickets_View`","created_at":"2016-06-06T12:47:26Z","updated_at":"2016-06-06T12:47:26Z","html_url":"https://github.com/moderntribe/event-tickets/pull/200#discussion_r65883433","pull_request_url":"https://api.github.com/repos/moderntribe/event-tickets/pulls/200","_links":{"self":{"href":"https://api.github.com/repos/moderntribe/event-tickets/pulls/comments/65883433"},"html":{"href":"https://github.com/moderntribe/event-tickets/pull/200#discussion_r65883433"},"pull_request":{"href":"https://api.github.com/repos/moderntribe/event-tickets/pulls/200"}}},"pull_request":{"url":"https://api.github.com/repos/moderntribe/event-tickets/pulls/200","id":72618204,"html_url":"https://github.com/moderntribe/event-tickets/pull/200","diff_url":"https://github.com/moderntribe/event-tickets/pull/200.diff","patch_url":"https://github.com/moderntribe/event-tickets/pull/200.patch","issue_url":"https://api.github.com/repos/moderntribe/event-tickets/issues/200","number":200,"state":"open","locked":false,"title":"Group RSVPs by name/email combinations","user":{"login":"borkweb","id":430385,"avatar_url":"https://avatars.githubusercontent.com/u/430385?v=3","gravatar_id":"","url":"https://api.github.com/users/borkweb","html_url":"https://github.com/borkweb","followers_url":"https://api.github.com/users/borkweb/followers","following_url":"https://api.github.com/users/borkweb/following{/other_user}","gists_url":"https://api.github.com/users/borkweb/gists{/gist_id}","starred_url":"https://api.github.com/users/borkweb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/borkweb/subscriptions","organizations_url":"https://api.github.com/users/borkweb/orgs","repos_url":"https://api.github.com/users/borkweb/repos","events_url":"https://api.github.com/users/borkweb/events{/privacy}","received_events_url":"https://api.github.com/users/borkweb/received_events","type":"User","site_admin":false},"body":"This is best reviewed via `?w=1`\r\n\r\nRelated: https://github.com/moderntribe/event-tickets-plus/pull/177\r\n\r\nSee: https://central.tri.be/issues/61955","created_at":"2016-06-05T01:56:02Z","updated_at":"2016-06-06T12:47:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4b9646e481eda6e7bed4a0ad56b10cdb1d3248b0","assignee":null,"milestone":{"url":"https://api.github.com/repos/moderntribe/event-tickets/milestones/2","html_url":"https://github.com/moderntribe/event-tickets/milestones/Major%20Release","labels_url":"https://api.github.com/repos/moderntribe/event-tickets/milestones/2/labels","id":1610469,"number":2,"title":"Major Release","description":"Pull requests for the current major release","creator":{"login":"borkweb","id":430385,"avatar_url":"https://avatars.githubusercontent.com/u/430385?v=3","gravatar_id":"","url":"https://api.github.com/users/borkweb","html_url":"https://github.com/borkweb","followers_url":"https://api.github.com/users/borkweb/followers","following_url":"https://api.github.com/users/borkweb/following{/other_user}","gists_url":"https://api.github.com/users/borkweb/gists{/gist_id}","starred_url":"https://api.github.com/users/borkweb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/borkweb/subscriptions","organizations_url":"https://api.github.com/users/borkweb/orgs","repos_url":"https://api.github.com/users/borkweb/repos","events_url":"https://api.github.com/users/borkweb/events{/privacy}","received_events_url":"https://api.github.com/users/borkweb/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":36,"state":"open","created_at":"2016-02-28T19:58:25Z","updated_at":"2016-06-05T01:56:25Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/moderntribe/event-tickets/pulls/200/commits","review_comments_url":"https://api.github.com/repos/moderntribe/event-tickets/pulls/200/comments","review_comment_url":"https://api.github.com/repos/moderntribe/event-tickets/pulls/comments{/number}","comments_url":"https://api.github.com/repos/moderntribe/event-tickets/issues/200/comments","statuses_url":"https://api.github.com/repos/moderntribe/event-tickets/statuses/c982ef2cc23926cea2f3c2a6f4d9bf33746d6d55","head":{"label":"moderntribe:fix/61955-group-rsvps","ref":"fix/61955-group-rsvps","sha":"c982ef2cc23926cea2f3c2a6f4d9bf33746d6d55","user":{"login":"moderntribe","id":2279551,"avatar_url":"https://avatars.githubusercontent.com/u/2279551?v=3","gravatar_id":"","url":"https://api.github.com/users/moderntribe","html_url":"https://github.com/moderntribe","followers_url":"https://api.github.com/users/moderntribe/followers","following_url":"https://api.github.com/users/moderntribe/following{/other_user}","gists_url":"https://api.github.com/users/moderntribe/gists{/gist_id}","starred_url":"https://api.github.com/users/moderntribe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moderntribe/subscriptions","organizations_url":"https://api.github.com/users/moderntribe/orgs","repos_url":"https://api.github.com/users/moderntribe/repos","events_url":"https://api.github.com/users/moderntribe/events{/privacy}","received_events_url":"https://api.github.com/users/moderntribe/received_events","type":"Organization","site_admin":false},"repo":{"id":40343752,"name":"event-tickets","full_name":"moderntribe/event-tickets","owner":{"login":"moderntribe","id":2279551,"avatar_url":"https://avatars.githubusercontent.com/u/2279551?v=3","gravatar_id":"","url":"https://api.github.com/users/moderntribe","html_url":"https://github.com/moderntribe","followers_url":"https://api.github.com/users/moderntribe/followers","following_url":"https://api.github.com/users/moderntribe/following{/other_user}","gists_url":"https://api.github.com/users/moderntribe/gists{/gist_id}","starred_url":"https://api.github.com/users/moderntribe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moderntribe/subscriptions","organizations_url":"https://api.github.com/users/moderntribe/orgs","repos_url":"https://api.github.com/users/moderntribe/repos","events_url":"https://api.github.com/users/moderntribe/events{/privacy}","received_events_url":"https://api.github.com/users/moderntribe/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/moderntribe/event-tickets","description":"Standalone Tickets Framework","fork":false,"url":"https://api.github.com/repos/moderntribe/event-tickets","forks_url":"https://api.github.com/repos/moderntribe/event-tickets/forks","keys_url":"https://api.github.com/repos/moderntribe/event-tickets/keys{/key_id}","collaborators_url":"https://api.github.com/repos/moderntribe/event-tickets/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/moderntribe/event-tickets/teams","hooks_url":"https://api.github.com/repos/moderntribe/event-tickets/hooks","issue_events_url":"https://api.github.com/repos/moderntribe/event-tickets/issues/events{/number}","events_url":"https://api.github.com/repos/moderntribe/event-tickets/events","assignees_url":"https://api.github.com/repos/moderntribe/event-tickets/assignees{/user}","branches_url":"https://api.github.com/repos/moderntribe/event-tickets/branches{/branch}","tags_url":"https://api.github.com/repos/moderntribe/event-tickets/tags","blobs_url":"https://api.github.com/repos/moderntribe/event-tickets/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/moderntribe/event-tickets/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/moderntribe/event-tickets/git/refs{/sha}","trees_url":"https://api.github.com/repos/moderntribe/event-tickets/git/trees{/sha}","statuses_url":"https://api.github.com/repos/moderntribe/event-tickets/statuses/{sha}","languages_url":"https://api.github.com/repos/moderntribe/event-tickets/languages","stargazers_url":"https://api.github.com/repos/moderntribe/event-tickets/stargazers","contributors_url":"https://api.github.com/repos/moderntribe/event-tickets/contributors","subscribers_url":"https://api.github.com/repos/moderntribe/event-tickets/subscribers","subscription_url":"https://api.github.com/repos/moderntribe/event-tickets/subscription","commits_url":"https://api.github.com/repos/moderntribe/event-tickets/commits{/sha}","git_commits_url":"https://api.github.com/repos/moderntribe/event-tickets/git/commits{/sha}","comments_url":"https://api.github.com/repos/moderntribe/event-tickets/comments{/number}","issue_comment_url":"https://api.github.com/repos/moderntribe/event-tickets/issues/comments{/number}","contents_url":"https://api.github.com/repos/moderntribe/event-tickets/contents/{+path}","compare_url":"https://api.github.com/repos/moderntribe/event-tickets/compare/{base}...{head}","merges_url":"https://api.github.com/repos/moderntribe/event-tickets/merges","archive_url":"https://api.github.com/repos/moderntribe/event-tickets/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/moderntribe/event-tickets/downloads","issues_url":"https://api.github.com/repos/moderntribe/event-tickets/issues{/number}","pulls_url":"https://api.github.com/repos/moderntribe/event-tickets/pulls{/number}","milestones_url":"https://api.github.com/repos/moderntribe/event-tickets/milestones{/number}","notifications_url":"https://api.github.com/repos/moderntribe/event-tickets/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/moderntribe/event-tickets/labels{/name}","releases_url":"https://api.github.com/repos/moderntribe/event-tickets/releases{/id}","deployments_url":"https://api.github.com/repos/moderntribe/event-tickets/deployments","created_at":"2015-08-07T05:57:40Z","updated_at":"2016-03-27T05:04:34Z","pushed_at":"2016-06-06T12:46:50Z","git_url":"git://github.com/moderntribe/event-tickets.git","ssh_url":"git@github.com:moderntribe/event-tickets.git","clone_url":"https://github.com/moderntribe/event-tickets.git","svn_url":"https://github.com/moderntribe/event-tickets","homepage":null,"size":2441,"stargazers_count":3,"watchers_count":3,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":3,"forks":7,"open_issues":3,"watchers":3,"default_branch":"develop"}},"base":{"label":"moderntribe:develop","ref":"develop","sha":"69698b3f045cdd02987315c29f6dbd0da0b5f048","user":{"login":"moderntribe","id":2279551,"avatar_url":"https://avatars.githubusercontent.com/u/2279551?v=3","gravatar_id":"","url":"https://api.github.com/users/moderntribe","html_url":"https://github.com/moderntribe","followers_url":"https://api.github.com/users/moderntribe/followers","following_url":"https://api.github.com/users/moderntribe/following{/other_user}","gists_url":"https://api.github.com/users/moderntribe/gists{/gist_id}","starred_url":"https://api.github.com/users/moderntribe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moderntribe/subscriptions","organizations_url":"https://api.github.com/users/moderntribe/orgs","repos_url":"https://api.github.com/users/moderntribe/repos","events_url":"https://api.github.com/users/moderntribe/events{/privacy}","received_events_url":"https://api.github.com/users/moderntribe/received_events","type":"Organization","site_admin":false},"repo":{"id":40343752,"name":"event-tickets","full_name":"moderntribe/event-tickets","owner":{"login":"moderntribe","id":2279551,"avatar_url":"https://avatars.githubusercontent.com/u/2279551?v=3","gravatar_id":"","url":"https://api.github.com/users/moderntribe","html_url":"https://github.com/moderntribe","followers_url":"https://api.github.com/users/moderntribe/followers","following_url":"https://api.github.com/users/moderntribe/following{/other_user}","gists_url":"https://api.github.com/users/moderntribe/gists{/gist_id}","starred_url":"https://api.github.com/users/moderntribe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moderntribe/subscriptions","organizations_url":"https://api.github.com/users/moderntribe/orgs","repos_url":"https://api.github.com/users/moderntribe/repos","events_url":"https://api.github.com/users/moderntribe/events{/privacy}","received_events_url":"https://api.github.com/users/moderntribe/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/moderntribe/event-tickets","description":"Standalone Tickets Framework","fork":false,"url":"https://api.github.com/repos/moderntribe/event-tickets","forks_url":"https://api.github.com/repos/moderntribe/event-tickets/forks","keys_url":"https://api.github.com/repos/moderntribe/event-tickets/keys{/key_id}","collaborators_url":"https://api.github.com/repos/moderntribe/event-tickets/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/moderntribe/event-tickets/teams","hooks_url":"https://api.github.com/repos/moderntribe/event-tickets/hooks","issue_events_url":"https://api.github.com/repos/moderntribe/event-tickets/issues/events{/number}","events_url":"https://api.github.com/repos/moderntribe/event-tickets/events","assignees_url":"https://api.github.com/repos/moderntribe/event-tickets/assignees{/user}","branches_url":"https://api.github.com/repos/moderntribe/event-tickets/branches{/branch}","tags_url":"https://api.github.com/repos/moderntribe/event-tickets/tags","blobs_url":"https://api.github.com/repos/moderntribe/event-tickets/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/moderntribe/event-tickets/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/moderntribe/event-tickets/git/refs{/sha}","trees_url":"https://api.github.com/repos/moderntribe/event-tickets/git/trees{/sha}","statuses_url":"https://api.github.com/repos/moderntribe/event-tickets/statuses/{sha}","languages_url":"https://api.github.com/repos/moderntribe/event-tickets/languages","stargazers_url":"https://api.github.com/repos/moderntribe/event-tickets/stargazers","contributors_url":"https://api.github.com/repos/moderntribe/event-tickets/contributors","subscribers_url":"https://api.github.com/repos/moderntribe/event-tickets/subscribers","subscription_url":"https://api.github.com/repos/moderntribe/event-tickets/subscription","commits_url":"https://api.github.com/repos/moderntribe/event-tickets/commits{/sha}","git_commits_url":"https://api.github.com/repos/moderntribe/event-tickets/git/commits{/sha}","comments_url":"https://api.github.com/repos/moderntribe/event-tickets/comments{/number}","issue_comment_url":"https://api.github.com/repos/moderntribe/event-tickets/issues/comments{/number}","contents_url":"https://api.github.com/repos/moderntribe/event-tickets/contents/{+path}","compare_url":"https://api.github.com/repos/moderntribe/event-tickets/compare/{base}...{head}","merges_url":"https://api.github.com/repos/moderntribe/event-tickets/merges","archive_url":"https://api.github.com/repos/moderntribe/event-tickets/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/moderntribe/event-tickets/downloads","issues_url":"https://api.github.com/repos/moderntribe/event-tickets/issues{/number}","pulls_url":"https://api.github.com/repos/moderntribe/event-tickets/pulls{/number}","milestones_url":"https://api.github.com/repos/moderntribe/event-tickets/milestones{/number}","notifications_url":"https://api.github.com/repos/moderntribe/event-tickets/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/moderntribe/event-tickets/labels{/name}","releases_url":"https://api.github.com/repos/moderntribe/event-tickets/releases{/id}","deployments_url":"https://api.github.com/repos/moderntribe/event-tickets/deployments","created_at":"2015-08-07T05:57:40Z","updated_at":"2016-03-27T05:04:34Z","pushed_at":"2016-06-06T12:46:50Z","git_url":"git://github.com/moderntribe/event-tickets.git","ssh_url":"git@github.com:moderntribe/event-tickets.git","clone_url":"https://github.com/moderntribe/event-tickets.git","svn_url":"https://github.com/moderntribe/event-tickets","homepage":null,"size":2441,"stargazers_count":3,"watchers_count":3,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":3,"forks":7,"open_issues":3,"watchers":3,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/moderntribe/event-tickets/pulls/200"},"html":{"href":"https://github.com/moderntribe/event-tickets/pull/200"},"issue":{"href":"https://api.github.com/repos/moderntribe/event-tickets/issues/200"},"comments":{"href":"https://api.github.com/repos/moderntribe/event-tickets/issues/200/comments"},"review_comments":{"href":"https://api.github.com/repos/moderntribe/event-tickets/pulls/200/comments"},"review_comment":{"href":"https://api.github.com/repos/moderntribe/event-tickets/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/moderntribe/event-tickets/pulls/200/commits"},"statuses":{"href":"https://api.github.com/repos/moderntribe/event-tickets/statuses/c982ef2cc23926cea2f3c2a6f4d9bf33746d6d55"}}}}
{"actor":{"display_login":"borkweb"}}