{"action":"opened","number":793,"pull_request":{"url":"https://api.github.com/repos/racedisparityaudit/rd_cms/pulls/793","id":222041463,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIyMDQxNDYz","html_url":"https://github.com/racedisparityaudit/rd_cms/pull/793","diff_url":"https://github.com/racedisparityaudit/rd_cms/pull/793.diff","patch_url":"https://github.com/racedisparityaudit/rd_cms/pull/793.patch","issue_url":"https://api.github.com/repos/racedisparityaudit/rd_cms/issues/793","number":793,"state":"open","locked":false,"title":"Check `data.sort_values` exists","user":{"login":"samuelhwilliams","id":2920760,"node_id":"MDQ6VXNlcjI5MjA3NjA=","avatar_url":"https://avatars1.githubusercontent.com/u/2920760?v=4","gravatar_id":"","url":"https://api.github.com/users/samuelhwilliams","html_url":"https://github.com/samuelhwilliams","followers_url":"https://api.github.com/users/samuelhwilliams/followers","following_url":"https://api.github.com/users/samuelhwilliams/following{/other_user}","gists_url":"https://api.github.com/users/samuelhwilliams/gists{/gist_id}","starred_url":"https://api.github.com/users/samuelhwilliams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samuelhwilliams/subscriptions","organizations_url":"https://api.github.com/users/samuelhwilliams/orgs","repos_url":"https://api.github.com/users/samuelhwilliams/repos","events_url":"https://api.github.com/users/samuelhwilliams/events{/privacy}","received_events_url":"https://api.github.com/users/samuelhwilliams/received_events","type":"User","site_admin":false},"body":" ## Summary\r\nWe've had some build failures on dev and staging where `data` doesn't\r\nhave any `sort_values`, causing the template to fail to render. This\r\nadds a check to see whether or not `sort_values` exists before trying to\r\nreference keys within it.","created_at":"2018-10-11T08:04:28Z","updated_at":"2018-10-11T08:04:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/racedisparityaudit/rd_cms/pulls/793/commits","review_comments_url":"https://api.github.com/repos/racedisparityaudit/rd_cms/pulls/793/comments","review_comment_url":"https://api.github.com/repos/racedisparityaudit/rd_cms/pulls/comments{/number}","comments_url":"https://api.github.com/repos/racedisparityaudit/rd_cms/issues/793/comments","statuses_url":"https://api.github.com/repos/racedisparityaudit/rd_cms/statuses/862750e1bcd9b8a25fcc0a08caba1200063da430","head":{"label":"racedisparityaudit:shw-check-sort-values","ref":"shw-check-sort-values","sha":"862750e1bcd9b8a25fcc0a08caba1200063da430","user":{"login":"racedisparityaudit","id":28758522,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4NzU4NTIy","avatar_url":"https://avatars1.githubusercontent.com/u/28758522?v=4","gravatar_id":"","url":"https://api.github.com/users/racedisparityaudit","html_url":"https://github.com/racedisparityaudit","followers_url":"https://api.github.com/users/racedisparityaudit/followers","following_url":"https://api.github.com/users/racedisparityaudit/following{/other_user}","gists_url":"https://api.github.com/users/racedisparityaudit/gists{/gist_id}","starred_url":"https://api.github.com/users/racedisparityaudit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/racedisparityaudit/subscriptions","organizations_url":"https://api.github.com/users/racedisparityaudit/orgs","repos_url":"https://api.github.com/users/racedisparityaudit/repos","events_url":"https://api.github.com/users/racedisparityaudit/events{/privacy}","received_events_url":"https://api.github.com/users/racedisparityaudit/received_events","type":"Organization","site_admin":false},"repo":{"id":88068354,"node_id":"MDEwOlJlcG9zaXRvcnk4ODA2ODM1NA==","name":"rd_cms","full_name":"racedisparityaudit/rd_cms","private":false,"owner":{"login":"racedisparityaudit","id":28758522,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4NzU4NTIy","avatar_url":"https://avatars1.githubusercontent.com/u/28758522?v=4","gravatar_id":"","url":"https://api.github.com/users/racedisparityaudit","html_url":"https://github.com/racedisparityaudit","followers_url":"https://api.github.com/users/racedisparityaudit/followers","following_url":"https://api.github.com/users/racedisparityaudit/following{/other_user}","gists_url":"https://api.github.com/users/racedisparityaudit/gists{/gist_id}","starred_url":"https://api.github.com/users/racedisparityaudit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/racedisparityaudit/subscriptions","organizations_url":"https://api.github.com/users/racedisparityaudit/orgs","repos_url":"https://api.github.com/users/racedisparityaudit/repos","events_url":"https://api.github.com/users/racedisparityaudit/events{/privacy}","received_events_url":"https://api.github.com/users/racedisparityaudit/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/racedisparityaudit/rd_cms","description":"The CMS used to publish pages on the Ethnicity facts and figures website","fork":false,"url":"https://api.github.com/repos/racedisparityaudit/rd_cms","forks_url":"https://api.github.com/repos/racedisparityaudit/rd_cms/forks","keys_url":"https://api.github.com/repos/racedisparityaudit/rd_cms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/racedisparityaudit/rd_cms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/racedisparityaudit/rd_cms/teams","hooks_url":"https://api.github.com/repos/racedisparityaudit/rd_cms/hooks","issue_events_url":"https://api.github.com/repos/racedisparityaudit/rd_cms/issues/events{/number}","events_url":"https://api.github.com/repos/racedisparityaudit/rd_cms/events","assignees_url":"https://api.github.com/repos/racedisparityaudit/rd_cms/assignees{/user}","branches_url":"https://api.github.com/repos/racedisparityaudit/rd_cms/branches{/branch}","tags_url":"https://api.github.com/repos/racedisparityaudit/rd_cms/tags","blobs_url":"https://api.github.com/repos/racedisparityaudit/rd_cms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/racedisparityaudit/rd_cms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/racedisparityaudit/rd_cms/git/refs{/sha}","trees_url":"https://api.github.com/repos/racedisparityaudit/rd_cms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/racedisparityaudit/rd_cms/statuses/{sha}","languages_url":"https://api.github.com/repos/racedisparityaudit/rd_cms/languages","stargazers_url":"https://api.github.com/repos/racedisparityaudit/rd_cms/stargazers","contributors_url":"https://api.github.com/repos/racedisparityaudit/rd_cms/contributors","subscribers_url":"https://api.github.com/repos/racedisparityaudit/rd_cms/subscribers","subscription_url":"https://api.github.com/repos/racedisparityaudit/rd_cms/subscription","commits_url":"https://api.github.com/repos/racedisparityaudit/rd_cms/commits{/sha}","git_commits_url":"https://api.github.com/repos/racedisparityaudit/rd_cms/git/commits{/sha}","comments_url":"https://api.github.com/repos/racedisparityaudit/rd_cms/comments{/number}","issue_comment_url":"https://api.github.com/repos/racedisparityaudit/rd_cms/issues/comments{/number}","contents_url":"https://api.github.com/repos/racedisparityaudit/rd_cms/contents/{+path}","compare_url":"https://api.github.com/repos/racedisparityaudit/rd_cms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/racedisparityaudit/rd_cms/merges","archive_url":"https://api.github.com/repos/racedisparityaudit/rd_cms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/racedisparityaudit/rd_cms/downloads","issues_url":"https://api.github.com/repos/racedisparityaudit/rd_cms/issues{/number}","pulls_url":"https://api.github.com/repos/racedisparityaudit/rd_cms/pulls{/number}","milestones_url":"https://api.github.com/repos/racedisparityaudit/rd_cms/milestones{/number}","notifications_url":"https://api.github.com/repos/racedisparityaudit/rd_cms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/racedisparityaudit/rd_cms/labels{/name}","releases_url":"https://api.github.com/repos/racedisparityaudit/rd_cms/releases{/id}","deployments_url":"https://api.github.com/repos/racedisparityaudit/rd_cms/deployments","created_at":"2017-04-12T15:35:02Z","updated_at":"2018-10-10T16:02:30Z","pushed_at":"2018-10-11T08:04:22Z","git_url":"git://github.com/racedisparityaudit/rd_cms.git","ssh_url":"git@github.com:racedisparityaudit/rd_cms.git","clone_url":"https://github.com/racedisparityaudit/rd_cms.git","svn_url":"https://github.com/racedisparityaudit/rd_cms","homepage":"https://www.ethnicity-facts-figures.service.gov.uk/","size":14290,"stargazers_count":1,"watchers_count":1,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":6,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":6,"watchers":1,"default_branch":"master"}},"base":{"label":"racedisparityaudit:master","ref":"master","sha":"15c8c5ad4f9f0a388c86f6faa9119f76fce1e147","user":{"login":"racedisparityaudit","id":28758522,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4NzU4NTIy","avatar_url":"https://avatars1.githubusercontent.com/u/28758522?v=4","gravatar_id":"","url":"https://api.github.com/users/racedisparityaudit","html_url":"https://github.com/racedisparityaudit","followers_url":"https://api.github.com/users/racedisparityaudit/followers","following_url":"https://api.github.com/users/racedisparityaudit/following{/other_user}","gists_url":"https://api.github.com/users/racedisparityaudit/gists{/gist_id}","starred_url":"https://api.github.com/users/racedisparityaudit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/racedisparityaudit/subscriptions","organizations_url":"https://api.github.com/users/racedisparityaudit/orgs","repos_url":"https://api.github.com/users/racedisparityaudit/repos","events_url":"https://api.github.com/users/racedisparityaudit/events{/privacy}","received_events_url":"https://api.github.com/users/racedisparityaudit/received_events","type":"Organization","site_admin":false},"repo":{"id":88068354,"node_id":"MDEwOlJlcG9zaXRvcnk4ODA2ODM1NA==","name":"rd_cms","full_name":"racedisparityaudit/rd_cms","private":false,"owner":{"login":"racedisparityaudit","id":28758522,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4NzU4NTIy","avatar_url":"https://avatars1.githubusercontent.com/u/28758522?v=4","gravatar_id":"","url":"https://api.github.com/users/racedisparityaudit","html_url":"https://github.com/racedisparityaudit","followers_url":"https://api.github.com/users/racedisparityaudit/followers","following_url":"https://api.github.com/users/racedisparityaudit/following{/other_user}","gists_url":"https://api.github.com/users/racedisparityaudit/gists{/gist_id}","starred_url":"https://api.github.com/users/racedisparityaudit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/racedisparityaudit/subscriptions","organizations_url":"https://api.github.com/users/racedisparityaudit/orgs","repos_url":"https://api.github.com/users/racedisparityaudit/repos","events_url":"https://api.github.com/users/racedisparityaudit/events{/privacy}","received_events_url":"https://api.github.com/users/racedisparityaudit/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/racedisparityaudit/rd_cms","description":"The CMS used to publish pages on the Ethnicity facts and figures website","fork":false,"url":"https://api.github.com/repos/racedisparityaudit/rd_cms","forks_url":"https://api.github.com/repos/racedisparityaudit/rd_cms/forks","keys_url":"https://api.github.com/repos/racedisparityaudit/rd_cms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/racedisparityaudit/rd_cms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/racedisparityaudit/rd_cms/teams","hooks_url":"https://api.github.com/repos/racedisparityaudit/rd_cms/hooks","issue_events_url":"https://api.github.com/repos/racedisparityaudit/rd_cms/issues/events{/number}","events_url":"https://api.github.com/repos/racedisparityaudit/rd_cms/events","assignees_url":"https://api.github.com/repos/racedisparityaudit/rd_cms/assignees{/user}","branches_url":"https://api.github.com/repos/racedisparityaudit/rd_cms/branches{/branch}","tags_url":"https://api.github.com/repos/racedisparityaudit/rd_cms/tags","blobs_url":"https://api.github.com/repos/racedisparityaudit/rd_cms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/racedisparityaudit/rd_cms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/racedisparityaudit/rd_cms/git/refs{/sha}","trees_url":"https://api.github.com/repos/racedisparityaudit/rd_cms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/racedisparityaudit/rd_cms/statuses/{sha}","languages_url":"https://api.github.com/repos/racedisparityaudit/rd_cms/languages","stargazers_url":"https://api.github.com/repos/racedisparityaudit/rd_cms/stargazers","contributors_url":"https://api.github.com/repos/racedisparityaudit/rd_cms/contributors","subscribers_url":"https://api.github.com/repos/racedisparityaudit/rd_cms/subscribers","subscription_url":"https://api.github.com/repos/racedisparityaudit/rd_cms/subscription","commits_url":"https://api.github.com/repos/racedisparityaudit/rd_cms/commits{/sha}","git_commits_url":"https://api.github.com/repos/racedisparityaudit/rd_cms/git/commits{/sha}","comments_url":"https://api.github.com/repos/racedisparityaudit/rd_cms/comments{/number}","issue_comment_url":"https://api.github.com/repos/racedisparityaudit/rd_cms/issues/comments{/number}","contents_url":"https://api.github.com/repos/racedisparityaudit/rd_cms/contents/{+path}","compare_url":"https://api.github.com/repos/racedisparityaudit/rd_cms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/racedisparityaudit/rd_cms/merges","archive_url":"https://api.github.com/repos/racedisparityaudit/rd_cms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/racedisparityaudit/rd_cms/downloads","issues_url":"https://api.github.com/repos/racedisparityaudit/rd_cms/issues{/number}","pulls_url":"https://api.github.com/repos/racedisparityaudit/rd_cms/pulls{/number}","milestones_url":"https://api.github.com/repos/racedisparityaudit/rd_cms/milestones{/number}","notifications_url":"https://api.github.com/repos/racedisparityaudit/rd_cms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/racedisparityaudit/rd_cms/labels{/name}","releases_url":"https://api.github.com/repos/racedisparityaudit/rd_cms/releases{/id}","deployments_url":"https://api.github.com/repos/racedisparityaudit/rd_cms/deployments","created_at":"2017-04-12T15:35:02Z","updated_at":"2018-10-10T16:02:30Z","pushed_at":"2018-10-11T08:04:22Z","git_url":"git://github.com/racedisparityaudit/rd_cms.git","ssh_url":"git@github.com:racedisparityaudit/rd_cms.git","clone_url":"https://github.com/racedisparityaudit/rd_cms.git","svn_url":"https://github.com/racedisparityaudit/rd_cms","homepage":"https://www.ethnicity-facts-figures.service.gov.uk/","size":14290,"stargazers_count":1,"watchers_count":1,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":6,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":6,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/racedisparityaudit/rd_cms/pulls/793"},"html":{"href":"https://github.com/racedisparityaudit/rd_cms/pull/793"},"issue":{"href":"https://api.github.com/repos/racedisparityaudit/rd_cms/issues/793"},"comments":{"href":"https://api.github.com/repos/racedisparityaudit/rd_cms/issues/793/comments"},"review_comments":{"href":"https://api.github.com/repos/racedisparityaudit/rd_cms/pulls/793/comments"},"review_comment":{"href":"https://api.github.com/repos/racedisparityaudit/rd_cms/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/racedisparityaudit/rd_cms/pulls/793/commits"},"statuses":{"href":"https://api.github.com/repos/racedisparityaudit/rd_cms/statuses/862750e1bcd9b8a25fcc0a08caba1200063da430"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":9,"deletions":8,"changed_files":1}}
{"actor":{"display_login":"samuelhwilliams"}}