{"action":"closed","number":302,"pull_request":{"url":"https://api.github.com/repos/tidepool-org/blip/pulls/302","id":65681568,"html_url":"https://github.com/tidepool-org/blip/pull/302","diff_url":"https://github.com/tidepool-org/blip/pull/302.diff","patch_url":"https://github.com/tidepool-org/blip/pull/302.patch","issue_url":"https://api.github.com/repos/tidepool-org/blip/issues/302","number":302,"state":"closed","locked":false,"title":"Gordyd/people list sorting","user":{"login":"GordyD","id":966511,"avatar_url":"https://avatars.githubusercontent.com/u/966511?v=3","gravatar_id":"","url":"https://api.github.com/users/GordyD","html_url":"https://github.com/GordyD","followers_url":"https://api.github.com/users/GordyD/followers","following_url":"https://api.github.com/users/GordyD/following{/other_user}","gists_url":"https://api.github.com/users/GordyD/gists{/gist_id}","starred_url":"https://api.github.com/users/GordyD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GordyD/subscriptions","organizations_url":"https://api.github.com/users/GordyD/orgs","repos_url":"https://api.github.com/users/GordyD/repos","events_url":"https://api.github.com/users/GordyD/events{/privacy}","received_events_url":"https://api.github.com/users/GordyD/received_events","type":"User","site_admin":false},"body":"When displaying a list of patients whose data you are able to view we need to ensure the list is sorted by the patient's name rather than the name associated with the profile that manages the patient. This commit updates the sorting rules and adds a new test condition to ensure that this property is used when the patient isOtherPerson flag is set to true","created_at":"2016-04-07T18:59:43Z","updated_at":"2016-04-07T19:04:17Z","closed_at":"2016-04-07T19:04:17Z","merged_at":null,"merge_commit_sha":"a6f8536ef5f819a0494bd2a591ebe192e5328c98","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/tidepool-org/blip/pulls/302/commits","review_comments_url":"https://api.github.com/repos/tidepool-org/blip/pulls/302/comments","review_comment_url":"https://api.github.com/repos/tidepool-org/blip/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tidepool-org/blip/issues/302/comments","statuses_url":"https://api.github.com/repos/tidepool-org/blip/statuses/01685a8d85444fbe04b4206af7b4bd2430625ae8","head":{"label":"tidepool-org:gordyd/people-list-sorting","ref":"gordyd/people-list-sorting","sha":"01685a8d85444fbe04b4206af7b4bd2430625ae8","user":{"login":"tidepool-org","id":4390820,"avatar_url":"https://avatars.githubusercontent.com/u/4390820?v=3","gravatar_id":"","url":"https://api.github.com/users/tidepool-org","html_url":"https://github.com/tidepool-org","followers_url":"https://api.github.com/users/tidepool-org/followers","following_url":"https://api.github.com/users/tidepool-org/following{/other_user}","gists_url":"https://api.github.com/users/tidepool-org/gists{/gist_id}","starred_url":"https://api.github.com/users/tidepool-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tidepool-org/subscriptions","organizations_url":"https://api.github.com/users/tidepool-org/orgs","repos_url":"https://api.github.com/users/tidepool-org/repos","events_url":"https://api.github.com/users/tidepool-org/events{/privacy}","received_events_url":"https://api.github.com/users/tidepool-org/received_events","type":"Organization","site_admin":false},"repo":{"id":15945573,"name":"blip","full_name":"tidepool-org/blip","owner":{"login":"tidepool-org","id":4390820,"avatar_url":"https://avatars.githubusercontent.com/u/4390820?v=3","gravatar_id":"","url":"https://api.github.com/users/tidepool-org","html_url":"https://github.com/tidepool-org","followers_url":"https://api.github.com/users/tidepool-org/followers","following_url":"https://api.github.com/users/tidepool-org/following{/other_user}","gists_url":"https://api.github.com/users/tidepool-org/gists{/gist_id}","starred_url":"https://api.github.com/users/tidepool-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tidepool-org/subscriptions","organizations_url":"https://api.github.com/users/tidepool-org/orgs","repos_url":"https://api.github.com/users/tidepool-org/repos","events_url":"https://api.github.com/users/tidepool-org/events{/privacy}","received_events_url":"https://api.github.com/users/tidepool-org/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tidepool-org/blip","description":"Blip is a web-based tool for managing all your Type 1 Diabetes data in one place.","fork":false,"url":"https://api.github.com/repos/tidepool-org/blip","forks_url":"https://api.github.com/repos/tidepool-org/blip/forks","keys_url":"https://api.github.com/repos/tidepool-org/blip/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tidepool-org/blip/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tidepool-org/blip/teams","hooks_url":"https://api.github.com/repos/tidepool-org/blip/hooks","issue_events_url":"https://api.github.com/repos/tidepool-org/blip/issues/events{/number}","events_url":"https://api.github.com/repos/tidepool-org/blip/events","assignees_url":"https://api.github.com/repos/tidepool-org/blip/assignees{/user}","branches_url":"https://api.github.com/repos/tidepool-org/blip/branches{/branch}","tags_url":"https://api.github.com/repos/tidepool-org/blip/tags","blobs_url":"https://api.github.com/repos/tidepool-org/blip/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tidepool-org/blip/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tidepool-org/blip/git/refs{/sha}","trees_url":"https://api.github.com/repos/tidepool-org/blip/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tidepool-org/blip/statuses/{sha}","languages_url":"https://api.github.com/repos/tidepool-org/blip/languages","stargazers_url":"https://api.github.com/repos/tidepool-org/blip/stargazers","contributors_url":"https://api.github.com/repos/tidepool-org/blip/contributors","subscribers_url":"https://api.github.com/repos/tidepool-org/blip/subscribers","subscription_url":"https://api.github.com/repos/tidepool-org/blip/subscription","commits_url":"https://api.github.com/repos/tidepool-org/blip/commits{/sha}","git_commits_url":"https://api.github.com/repos/tidepool-org/blip/git/commits{/sha}","comments_url":"https://api.github.com/repos/tidepool-org/blip/comments{/number}","issue_comment_url":"https://api.github.com/repos/tidepool-org/blip/issues/comments{/number}","contents_url":"https://api.github.com/repos/tidepool-org/blip/contents/{+path}","compare_url":"https://api.github.com/repos/tidepool-org/blip/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tidepool-org/blip/merges","archive_url":"https://api.github.com/repos/tidepool-org/blip/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tidepool-org/blip/downloads","issues_url":"https://api.github.com/repos/tidepool-org/blip/issues{/number}","pulls_url":"https://api.github.com/repos/tidepool-org/blip/pulls{/number}","milestones_url":"https://api.github.com/repos/tidepool-org/blip/milestones{/number}","notifications_url":"https://api.github.com/repos/tidepool-org/blip/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tidepool-org/blip/labels{/name}","releases_url":"https://api.github.com/repos/tidepool-org/blip/releases{/id}","deployments_url":"https://api.github.com/repos/tidepool-org/blip/deployments","created_at":"2014-01-15T19:25:43Z","updated_at":"2016-03-29T01:58:36Z","pushed_at":"2016-04-07T18:59:44Z","git_url":"git://github.com/tidepool-org/blip.git","ssh_url":"git@github.com:tidepool-org/blip.git","clone_url":"https://github.com/tidepool-org/blip.git","svn_url":"https://github.com/tidepool-org/blip","homepage":"http://tidepool.org/products/blip/","size":4841,"stargazers_count":58,"watchers_count":58,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":29,"mirror_url":null,"open_issues_count":4,"forks":29,"open_issues":4,"watchers":58,"default_branch":"master"}},"base":{"label":"tidepool-org:master","ref":"master","sha":"eb6594fb4f7c9c83750fb7d36c830b9ed8bc5bb1","user":{"login":"tidepool-org","id":4390820,"avatar_url":"https://avatars.githubusercontent.com/u/4390820?v=3","gravatar_id":"","url":"https://api.github.com/users/tidepool-org","html_url":"https://github.com/tidepool-org","followers_url":"https://api.github.com/users/tidepool-org/followers","following_url":"https://api.github.com/users/tidepool-org/following{/other_user}","gists_url":"https://api.github.com/users/tidepool-org/gists{/gist_id}","starred_url":"https://api.github.com/users/tidepool-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tidepool-org/subscriptions","organizations_url":"https://api.github.com/users/tidepool-org/orgs","repos_url":"https://api.github.com/users/tidepool-org/repos","events_url":"https://api.github.com/users/tidepool-org/events{/privacy}","received_events_url":"https://api.github.com/users/tidepool-org/received_events","type":"Organization","site_admin":false},"repo":{"id":15945573,"name":"blip","full_name":"tidepool-org/blip","owner":{"login":"tidepool-org","id":4390820,"avatar_url":"https://avatars.githubusercontent.com/u/4390820?v=3","gravatar_id":"","url":"https://api.github.com/users/tidepool-org","html_url":"https://github.com/tidepool-org","followers_url":"https://api.github.com/users/tidepool-org/followers","following_url":"https://api.github.com/users/tidepool-org/following{/other_user}","gists_url":"https://api.github.com/users/tidepool-org/gists{/gist_id}","starred_url":"https://api.github.com/users/tidepool-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tidepool-org/subscriptions","organizations_url":"https://api.github.com/users/tidepool-org/orgs","repos_url":"https://api.github.com/users/tidepool-org/repos","events_url":"https://api.github.com/users/tidepool-org/events{/privacy}","received_events_url":"https://api.github.com/users/tidepool-org/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tidepool-org/blip","description":"Blip is a web-based tool for managing all your Type 1 Diabetes data in one place.","fork":false,"url":"https://api.github.com/repos/tidepool-org/blip","forks_url":"https://api.github.com/repos/tidepool-org/blip/forks","keys_url":"https://api.github.com/repos/tidepool-org/blip/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tidepool-org/blip/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tidepool-org/blip/teams","hooks_url":"https://api.github.com/repos/tidepool-org/blip/hooks","issue_events_url":"https://api.github.com/repos/tidepool-org/blip/issues/events{/number}","events_url":"https://api.github.com/repos/tidepool-org/blip/events","assignees_url":"https://api.github.com/repos/tidepool-org/blip/assignees{/user}","branches_url":"https://api.github.com/repos/tidepool-org/blip/branches{/branch}","tags_url":"https://api.github.com/repos/tidepool-org/blip/tags","blobs_url":"https://api.github.com/repos/tidepool-org/blip/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tidepool-org/blip/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tidepool-org/blip/git/refs{/sha}","trees_url":"https://api.github.com/repos/tidepool-org/blip/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tidepool-org/blip/statuses/{sha}","languages_url":"https://api.github.com/repos/tidepool-org/blip/languages","stargazers_url":"https://api.github.com/repos/tidepool-org/blip/stargazers","contributors_url":"https://api.github.com/repos/tidepool-org/blip/contributors","subscribers_url":"https://api.github.com/repos/tidepool-org/blip/subscribers","subscription_url":"https://api.github.com/repos/tidepool-org/blip/subscription","commits_url":"https://api.github.com/repos/tidepool-org/blip/commits{/sha}","git_commits_url":"https://api.github.com/repos/tidepool-org/blip/git/commits{/sha}","comments_url":"https://api.github.com/repos/tidepool-org/blip/comments{/number}","issue_comment_url":"https://api.github.com/repos/tidepool-org/blip/issues/comments{/number}","contents_url":"https://api.github.com/repos/tidepool-org/blip/contents/{+path}","compare_url":"https://api.github.com/repos/tidepool-org/blip/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tidepool-org/blip/merges","archive_url":"https://api.github.com/repos/tidepool-org/blip/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tidepool-org/blip/downloads","issues_url":"https://api.github.com/repos/tidepool-org/blip/issues{/number}","pulls_url":"https://api.github.com/repos/tidepool-org/blip/pulls{/number}","milestones_url":"https://api.github.com/repos/tidepool-org/blip/milestones{/number}","notifications_url":"https://api.github.com/repos/tidepool-org/blip/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tidepool-org/blip/labels{/name}","releases_url":"https://api.github.com/repos/tidepool-org/blip/releases{/id}","deployments_url":"https://api.github.com/repos/tidepool-org/blip/deployments","created_at":"2014-01-15T19:25:43Z","updated_at":"2016-03-29T01:58:36Z","pushed_at":"2016-04-07T18:59:44Z","git_url":"git://github.com/tidepool-org/blip.git","ssh_url":"git@github.com:tidepool-org/blip.git","clone_url":"https://github.com/tidepool-org/blip.git","svn_url":"https://github.com/tidepool-org/blip","homepage":"http://tidepool.org/products/blip/","size":4841,"stargazers_count":58,"watchers_count":58,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":29,"mirror_url":null,"open_issues_count":4,"forks":29,"open_issues":4,"watchers":58,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tidepool-org/blip/pulls/302"},"html":{"href":"https://github.com/tidepool-org/blip/pull/302"},"issue":{"href":"https://api.github.com/repos/tidepool-org/blip/issues/302"},"comments":{"href":"https://api.github.com/repos/tidepool-org/blip/issues/302/comments"},"review_comments":{"href":"https://api.github.com/repos/tidepool-org/blip/pulls/302/comments"},"review_comment":{"href":"https://api.github.com/repos/tidepool-org/blip/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tidepool-org/blip/pulls/302/commits"},"statuses":{"href":"https://api.github.com/repos/tidepool-org/blip/statuses/01685a8d85444fbe04b4206af7b4bd2430625ae8"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":49,"deletions":1,"changed_files":2}}