{"action":"opened","number":7,"pull_request":{"url":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/pulls/7","id":80901659,"html_url":"https://github.com/CodeForCharlotte/cmpd-holiday-gift-backend/pull/7","diff_url":"https://github.com/CodeForCharlotte/cmpd-holiday-gift-backend/pull/7.diff","patch_url":"https://github.com/CodeForCharlotte/cmpd-holiday-gift-backend/pull/7.patch","issue_url":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/issues/7","number":7,"state":"open","locked":false,"title":"Fix sorting by Affiliation","user":{"login":"kjlaw89","id":4183007,"avatar_url":"https://avatars.githubusercontent.com/u/4183007?v=3","gravatar_id":"","url":"https://api.github.com/users/kjlaw89","html_url":"https://github.com/kjlaw89","followers_url":"https://api.github.com/users/kjlaw89/followers","following_url":"https://api.github.com/users/kjlaw89/following{/other_user}","gists_url":"https://api.github.com/users/kjlaw89/gists{/gist_id}","starred_url":"https://api.github.com/users/kjlaw89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kjlaw89/subscriptions","organizations_url":"https://api.github.com/users/kjlaw89/orgs","repos_url":"https://api.github.com/users/kjlaw89/repos","events_url":"https://api.github.com/users/kjlaw89/events{/privacy}","received_events_url":"https://api.github.com/users/kjlaw89/received_events","type":"User","site_admin":false},"body":"- Other minor changes/fixes for DT code\r\n\r\nHave to do a JOIN for the affiliations table because \"with\" does an extra query and combines the data after the fact, which kills the sort since no column is found.","created_at":"2016-08-11T04:03:51Z","updated_at":"2016-08-11T04:03:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/pulls/7/commits","review_comments_url":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/pulls/7/comments","review_comment_url":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/issues/7/comments","statuses_url":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/statuses/aab2c033c8d366918337f8b4978bbcd3610457b2","head":{"label":"CodeForCharlotte:bug/fix-dt-sort","ref":"bug/fix-dt-sort","sha":"aab2c033c8d366918337f8b4978bbcd3610457b2","user":{"login":"CodeForCharlotte","id":7139543,"avatar_url":"https://avatars.githubusercontent.com/u/7139543?v=3","gravatar_id":"","url":"https://api.github.com/users/CodeForCharlotte","html_url":"https://github.com/CodeForCharlotte","followers_url":"https://api.github.com/users/CodeForCharlotte/followers","following_url":"https://api.github.com/users/CodeForCharlotte/following{/other_user}","gists_url":"https://api.github.com/users/CodeForCharlotte/gists{/gist_id}","starred_url":"https://api.github.com/users/CodeForCharlotte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CodeForCharlotte/subscriptions","organizations_url":"https://api.github.com/users/CodeForCharlotte/orgs","repos_url":"https://api.github.com/users/CodeForCharlotte/repos","events_url":"https://api.github.com/users/CodeForCharlotte/events{/privacy}","received_events_url":"https://api.github.com/users/CodeForCharlotte/received_events","type":"Organization","site_admin":false},"repo":{"id":45954810,"name":"cmpd-holiday-gift-backend","full_name":"CodeForCharlotte/cmpd-holiday-gift-backend","owner":{"login":"CodeForCharlotte","id":7139543,"avatar_url":"https://avatars.githubusercontent.com/u/7139543?v=3","gravatar_id":"","url":"https://api.github.com/users/CodeForCharlotte","html_url":"https://github.com/CodeForCharlotte","followers_url":"https://api.github.com/users/CodeForCharlotte/followers","following_url":"https://api.github.com/users/CodeForCharlotte/following{/other_user}","gists_url":"https://api.github.com/users/CodeForCharlotte/gists{/gist_id}","starred_url":"https://api.github.com/users/CodeForCharlotte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CodeForCharlotte/subscriptions","organizations_url":"https://api.github.com/users/CodeForCharlotte/orgs","repos_url":"https://api.github.com/users/CodeForCharlotte/repos","events_url":"https://api.github.com/users/CodeForCharlotte/events{/privacy}","received_events_url":"https://api.github.com/users/CodeForCharlotte/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CodeForCharlotte/cmpd-holiday-gift-backend","description":"Laravel-based backend for the CMPD Holiday Gift Project","fork":false,"url":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend","forks_url":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/forks","keys_url":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/teams","hooks_url":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/hooks","issue_events_url":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/issues/events{/number}","events_url":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/events","assignees_url":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/assignees{/user}","branches_url":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/branches{/branch}","tags_url":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/tags","blobs_url":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/git/refs{/sha}","trees_url":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/statuses/{sha}","languages_url":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/languages","stargazers_url":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/stargazers","contributors_url":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/contributors","subscribers_url":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/subscribers","subscription_url":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/subscription","commits_url":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/commits{/sha}","git_commits_url":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/git/commits{/sha}","comments_url":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/comments{/number}","issue_comment_url":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/issues/comments{/number}","contents_url":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/contents/{+path}","compare_url":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/merges","archive_url":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/downloads","issues_url":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/issues{/number}","pulls_url":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/pulls{/number}","milestones_url":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/milestones{/number}","notifications_url":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/labels{/name}","releases_url":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/releases{/id}","deployments_url":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/deployments","created_at":"2015-11-11T02:28:51Z","updated_at":"2016-01-14T03:30:42Z","pushed_at":"2016-08-11T04:03:51Z","git_url":"git://github.com/CodeForCharlotte/cmpd-holiday-gift-backend.git","ssh_url":"git@github.com:CodeForCharlotte/cmpd-holiday-gift-backend.git","clone_url":"https://github.com/CodeForCharlotte/cmpd-holiday-gift-backend.git","svn_url":"https://github.com/CodeForCharlotte/cmpd-holiday-gift-backend","homepage":null,"size":2011,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":1,"forks":9,"open_issues":1,"watchers":0,"default_branch":"develop"}},"base":{"label":"CodeForCharlotte:develop","ref":"develop","sha":"9b06f0670c880e37a3701d7c45a903e398017dd8","user":{"login":"CodeForCharlotte","id":7139543,"avatar_url":"https://avatars.githubusercontent.com/u/7139543?v=3","gravatar_id":"","url":"https://api.github.com/users/CodeForCharlotte","html_url":"https://github.com/CodeForCharlotte","followers_url":"https://api.github.com/users/CodeForCharlotte/followers","following_url":"https://api.github.com/users/CodeForCharlotte/following{/other_user}","gists_url":"https://api.github.com/users/CodeForCharlotte/gists{/gist_id}","starred_url":"https://api.github.com/users/CodeForCharlotte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CodeForCharlotte/subscriptions","organizations_url":"https://api.github.com/users/CodeForCharlotte/orgs","repos_url":"https://api.github.com/users/CodeForCharlotte/repos","events_url":"https://api.github.com/users/CodeForCharlotte/events{/privacy}","received_events_url":"https://api.github.com/users/CodeForCharlotte/received_events","type":"Organization","site_admin":false},"repo":{"id":45954810,"name":"cmpd-holiday-gift-backend","full_name":"CodeForCharlotte/cmpd-holiday-gift-backend","owner":{"login":"CodeForCharlotte","id":7139543,"avatar_url":"https://avatars.githubusercontent.com/u/7139543?v=3","gravatar_id":"","url":"https://api.github.com/users/CodeForCharlotte","html_url":"https://github.com/CodeForCharlotte","followers_url":"https://api.github.com/users/CodeForCharlotte/followers","following_url":"https://api.github.com/users/CodeForCharlotte/following{/other_user}","gists_url":"https://api.github.com/users/CodeForCharlotte/gists{/gist_id}","starred_url":"https://api.github.com/users/CodeForCharlotte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CodeForCharlotte/subscriptions","organizations_url":"https://api.github.com/users/CodeForCharlotte/orgs","repos_url":"https://api.github.com/users/CodeForCharlotte/repos","events_url":"https://api.github.com/users/CodeForCharlotte/events{/privacy}","received_events_url":"https://api.github.com/users/CodeForCharlotte/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CodeForCharlotte/cmpd-holiday-gift-backend","description":"Laravel-based backend for the CMPD Holiday Gift Project","fork":false,"url":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend","forks_url":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/forks","keys_url":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/teams","hooks_url":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/hooks","issue_events_url":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/issues/events{/number}","events_url":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/events","assignees_url":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/assignees{/user}","branches_url":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/branches{/branch}","tags_url":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/tags","blobs_url":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/git/refs{/sha}","trees_url":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/statuses/{sha}","languages_url":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/languages","stargazers_url":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/stargazers","contributors_url":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/contributors","subscribers_url":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/subscribers","subscription_url":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/subscription","commits_url":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/commits{/sha}","git_commits_url":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/git/commits{/sha}","comments_url":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/comments{/number}","issue_comment_url":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/issues/comments{/number}","contents_url":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/contents/{+path}","compare_url":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/merges","archive_url":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/downloads","issues_url":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/issues{/number}","pulls_url":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/pulls{/number}","milestones_url":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/milestones{/number}","notifications_url":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/labels{/name}","releases_url":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/releases{/id}","deployments_url":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/deployments","created_at":"2015-11-11T02:28:51Z","updated_at":"2016-01-14T03:30:42Z","pushed_at":"2016-08-11T04:03:51Z","git_url":"git://github.com/CodeForCharlotte/cmpd-holiday-gift-backend.git","ssh_url":"git@github.com:CodeForCharlotte/cmpd-holiday-gift-backend.git","clone_url":"https://github.com/CodeForCharlotte/cmpd-holiday-gift-backend.git","svn_url":"https://github.com/CodeForCharlotte/cmpd-holiday-gift-backend","homepage":null,"size":2011,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":1,"forks":9,"open_issues":1,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/pulls/7"},"html":{"href":"https://github.com/CodeForCharlotte/cmpd-holiday-gift-backend/pull/7"},"issue":{"href":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/issues/7"},"comments":{"href":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/CodeForCharlotte/cmpd-holiday-gift-backend/statuses/aab2c033c8d366918337f8b4978bbcd3610457b2"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":33,"deletions":7,"changed_files":4}}
{"actor":{"display_login":"kjlaw89"}}