{"action":"closed","number":12808,"pull_request":{"url":"https://api.github.com/repos/civicrm/civicrm-core/pulls/12808","id":214827794,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE0ODI3Nzk0","html_url":"https://github.com/civicrm/civicrm-core/pull/12808","diff_url":"https://github.com/civicrm/civicrm-core/pull/12808.diff","patch_url":"https://github.com/civicrm/civicrm-core/pull/12808.patch","issue_url":"https://api.github.com/repos/civicrm/civicrm-core/issues/12808","number":12808,"state":"closed","locked":false,"title":"closes reporting#6 - can't sort by Street Name","user":{"login":"MegaphoneJon","id":1796012,"node_id":"MDQ6VXNlcjE3OTYwMTI=","avatar_url":"https://avatars3.githubusercontent.com/u/1796012?v=4","gravatar_id":"","url":"https://api.github.com/users/MegaphoneJon","html_url":"https://github.com/MegaphoneJon","followers_url":"https://api.github.com/users/MegaphoneJon/followers","following_url":"https://api.github.com/users/MegaphoneJon/following{/other_user}","gists_url":"https://api.github.com/users/MegaphoneJon/gists{/gist_id}","starred_url":"https://api.github.com/users/MegaphoneJon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MegaphoneJon/subscriptions","organizations_url":"https://api.github.com/users/MegaphoneJon/orgs","repos_url":"https://api.github.com/users/MegaphoneJon/repos","events_url":"https://api.github.com/users/MegaphoneJon/events{/privacy}","received_events_url":"https://api.github.com/users/MegaphoneJon/received_events","type":"User","site_admin":false},"body":"Overview\r\n----------------------------------------\r\nYou can't sort by street name on reports that use the common function to get address fields.\r\n\r\nBefore\r\n----------------------------------------\r\nSee screenshots from Constituent Summary Report:\r\n![selection_598](https://user-images.githubusercontent.com/1796012/45401066-f45ee780-b61c-11e8-840d-e189ebece808.png)\r\n\r\n\r\nAfter\r\n----------------------------------------\r\n![selection_599](https://user-images.githubusercontent.com/1796012/45401076-f9239b80-b61c-11e8-8c8a-b2bd7f8859b9.png)\r\n\r\n\r\nTechnical Details\r\n----------------------------------------\r\nThe `street_name` is defined twice in this array - once correctly, once incorrectly.  I'm removing the second instance.  The first instance is at line 5487.","created_at":"2018-09-12T03:47:34Z","updated_at":"2018-09-13T05:48:02Z","closed_at":"2018-09-13T05:48:01Z","merged_at":"2018-09-13T05:48:01Z","merge_commit_sha":"8f7f840835d0311c6d9f390c46b006a4f5f6d4b0","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":246037889,"node_id":"MDU6TGFiZWwyNDYwMzc4ODk=","url":"https://api.github.com/repos/civicrm/civicrm-core/labels/master","name":"master","color":"0052cc","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/civicrm/civicrm-core/pulls/12808/commits","review_comments_url":"https://api.github.com/repos/civicrm/civicrm-core/pulls/12808/comments","review_comment_url":"https://api.github.com/repos/civicrm/civicrm-core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/civicrm/civicrm-core/issues/12808/comments","statuses_url":"https://api.github.com/repos/civicrm/civicrm-core/statuses/bf8b7d1a95f0005de53fc99b1770614230fa590f","head":{"label":"MegaphoneJon:reporting-6","ref":"reporting-6","sha":"bf8b7d1a95f0005de53fc99b1770614230fa590f","user":{"login":"MegaphoneJon","id":1796012,"node_id":"MDQ6VXNlcjE3OTYwMTI=","avatar_url":"https://avatars3.githubusercontent.com/u/1796012?v=4","gravatar_id":"","url":"https://api.github.com/users/MegaphoneJon","html_url":"https://github.com/MegaphoneJon","followers_url":"https://api.github.com/users/MegaphoneJon/followers","following_url":"https://api.github.com/users/MegaphoneJon/following{/other_user}","gists_url":"https://api.github.com/users/MegaphoneJon/gists{/gist_id}","starred_url":"https://api.github.com/users/MegaphoneJon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MegaphoneJon/subscriptions","organizations_url":"https://api.github.com/users/MegaphoneJon/orgs","repos_url":"https://api.github.com/users/MegaphoneJon/repos","events_url":"https://api.github.com/users/MegaphoneJon/events{/privacy}","received_events_url":"https://api.github.com/users/MegaphoneJon/received_events","type":"User","site_admin":false},"repo":{"id":9741613,"node_id":"MDEwOlJlcG9zaXRvcnk5NzQxNjEz","name":"civicrm-core","full_name":"MegaphoneJon/civicrm-core","owner":{"login":"MegaphoneJon","id":1796012,"node_id":"MDQ6VXNlcjE3OTYwMTI=","avatar_url":"https://avatars3.githubusercontent.com/u/1796012?v=4","gravatar_id":"","url":"https://api.github.com/users/MegaphoneJon","html_url":"https://github.com/MegaphoneJon","followers_url":"https://api.github.com/users/MegaphoneJon/followers","following_url":"https://api.github.com/users/MegaphoneJon/following{/other_user}","gists_url":"https://api.github.com/users/MegaphoneJon/gists{/gist_id}","starred_url":"https://api.github.com/users/MegaphoneJon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MegaphoneJon/subscriptions","organizations_url":"https://api.github.com/users/MegaphoneJon/orgs","repos_url":"https://api.github.com/users/MegaphoneJon/repos","events_url":"https://api.github.com/users/MegaphoneJon/events{/privacy}","received_events_url":"https://api.github.com/users/MegaphoneJon/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MegaphoneJon/civicrm-core","description":"CiviCRM (Core Application and Framework)","fork":true,"url":"https://api.github.com/repos/MegaphoneJon/civicrm-core","forks_url":"https://api.github.com/repos/MegaphoneJon/civicrm-core/forks","keys_url":"https://api.github.com/repos/MegaphoneJon/civicrm-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MegaphoneJon/civicrm-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MegaphoneJon/civicrm-core/teams","hooks_url":"https://api.github.com/repos/MegaphoneJon/civicrm-core/hooks","issue_events_url":"https://api.github.com/repos/MegaphoneJon/civicrm-core/issues/events{/number}","events_url":"https://api.github.com/repos/MegaphoneJon/civicrm-core/events","assignees_url":"https://api.github.com/repos/MegaphoneJon/civicrm-core/assignees{/user}","branches_url":"https://api.github.com/repos/MegaphoneJon/civicrm-core/branches{/branch}","tags_url":"https://api.github.com/repos/MegaphoneJon/civicrm-core/tags","blobs_url":"https://api.github.com/repos/MegaphoneJon/civicrm-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MegaphoneJon/civicrm-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MegaphoneJon/civicrm-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/MegaphoneJon/civicrm-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MegaphoneJon/civicrm-core/statuses/{sha}","languages_url":"https://api.github.com/repos/MegaphoneJon/civicrm-core/languages","stargazers_url":"https://api.github.com/repos/MegaphoneJon/civicrm-core/stargazers","contributors_url":"https://api.github.com/repos/MegaphoneJon/civicrm-core/contributors","subscribers_url":"https://api.github.com/repos/MegaphoneJon/civicrm-core/subscribers","subscription_url":"https://api.github.com/repos/MegaphoneJon/civicrm-core/subscription","commits_url":"https://api.github.com/repos/MegaphoneJon/civicrm-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/MegaphoneJon/civicrm-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/MegaphoneJon/civicrm-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/MegaphoneJon/civicrm-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/MegaphoneJon/civicrm-core/contents/{+path}","compare_url":"https://api.github.com/repos/MegaphoneJon/civicrm-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MegaphoneJon/civicrm-core/merges","archive_url":"https://api.github.com/repos/MegaphoneJon/civicrm-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MegaphoneJon/civicrm-core/downloads","issues_url":"https://api.github.com/repos/MegaphoneJon/civicrm-core/issues{/number}","pulls_url":"https://api.github.com/repos/MegaphoneJon/civicrm-core/pulls{/number}","milestones_url":"https://api.github.com/repos/MegaphoneJon/civicrm-core/milestones{/number}","notifications_url":"https://api.github.com/repos/MegaphoneJon/civicrm-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MegaphoneJon/civicrm-core/labels{/name}","releases_url":"https://api.github.com/repos/MegaphoneJon/civicrm-core/releases{/id}","deployments_url":"https://api.github.com/repos/MegaphoneJon/civicrm-core/deployments","created_at":"2013-04-29T05:26:11Z","updated_at":"2014-02-24T20:13:08Z","pushed_at":"2018-09-12T03:45:50Z","git_url":"git://github.com/MegaphoneJon/civicrm-core.git","ssh_url":"git@github.com:MegaphoneJon/civicrm-core.git","clone_url":"https://github.com/MegaphoneJon/civicrm-core.git","svn_url":"https://github.com/MegaphoneJon/civicrm-core","homepage":null,"size":155931,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"civicrm:master","ref":"master","sha":"aaa50340b25dbe052567f3ff18c17ee3945a867a","user":{"login":"civicrm","id":136373,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzNjM3Mw==","avatar_url":"https://avatars2.githubusercontent.com/u/136373?v=4","gravatar_id":"","url":"https://api.github.com/users/civicrm","html_url":"https://github.com/civicrm","followers_url":"https://api.github.com/users/civicrm/followers","following_url":"https://api.github.com/users/civicrm/following{/other_user}","gists_url":"https://api.github.com/users/civicrm/gists{/gist_id}","starred_url":"https://api.github.com/users/civicrm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/civicrm/subscriptions","organizations_url":"https://api.github.com/users/civicrm/orgs","repos_url":"https://api.github.com/users/civicrm/repos","events_url":"https://api.github.com/users/civicrm/events{/privacy}","received_events_url":"https://api.github.com/users/civicrm/received_events","type":"Organization","site_admin":false},"repo":{"id":8495499,"node_id":"MDEwOlJlcG9zaXRvcnk4NDk1NDk5","name":"civicrm-core","full_name":"civicrm/civicrm-core","owner":{"login":"civicrm","id":136373,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzNjM3Mw==","avatar_url":"https://avatars2.githubusercontent.com/u/136373?v=4","gravatar_id":"","url":"https://api.github.com/users/civicrm","html_url":"https://github.com/civicrm","followers_url":"https://api.github.com/users/civicrm/followers","following_url":"https://api.github.com/users/civicrm/following{/other_user}","gists_url":"https://api.github.com/users/civicrm/gists{/gist_id}","starred_url":"https://api.github.com/users/civicrm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/civicrm/subscriptions","organizations_url":"https://api.github.com/users/civicrm/orgs","repos_url":"https://api.github.com/users/civicrm/repos","events_url":"https://api.github.com/users/civicrm/events{/privacy}","received_events_url":"https://api.github.com/users/civicrm/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/civicrm/civicrm-core","description":"CiviCRM (Core Application and Framework)","fork":false,"url":"https://api.github.com/repos/civicrm/civicrm-core","forks_url":"https://api.github.com/repos/civicrm/civicrm-core/forks","keys_url":"https://api.github.com/repos/civicrm/civicrm-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/civicrm/civicrm-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/civicrm/civicrm-core/teams","hooks_url":"https://api.github.com/repos/civicrm/civicrm-core/hooks","issue_events_url":"https://api.github.com/repos/civicrm/civicrm-core/issues/events{/number}","events_url":"https://api.github.com/repos/civicrm/civicrm-core/events","assignees_url":"https://api.github.com/repos/civicrm/civicrm-core/assignees{/user}","branches_url":"https://api.github.com/repos/civicrm/civicrm-core/branches{/branch}","tags_url":"https://api.github.com/repos/civicrm/civicrm-core/tags","blobs_url":"https://api.github.com/repos/civicrm/civicrm-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/civicrm/civicrm-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/civicrm/civicrm-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/civicrm/civicrm-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/civicrm/civicrm-core/statuses/{sha}","languages_url":"https://api.github.com/repos/civicrm/civicrm-core/languages","stargazers_url":"https://api.github.com/repos/civicrm/civicrm-core/stargazers","contributors_url":"https://api.github.com/repos/civicrm/civicrm-core/contributors","subscribers_url":"https://api.github.com/repos/civicrm/civicrm-core/subscribers","subscription_url":"https://api.github.com/repos/civicrm/civicrm-core/subscription","commits_url":"https://api.github.com/repos/civicrm/civicrm-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/civicrm/civicrm-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/civicrm/civicrm-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/civicrm/civicrm-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/civicrm/civicrm-core/contents/{+path}","compare_url":"https://api.github.com/repos/civicrm/civicrm-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/civicrm/civicrm-core/merges","archive_url":"https://api.github.com/repos/civicrm/civicrm-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/civicrm/civicrm-core/downloads","issues_url":"https://api.github.com/repos/civicrm/civicrm-core/issues{/number}","pulls_url":"https://api.github.com/repos/civicrm/civicrm-core/pulls{/number}","milestones_url":"https://api.github.com/repos/civicrm/civicrm-core/milestones{/number}","notifications_url":"https://api.github.com/repos/civicrm/civicrm-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/civicrm/civicrm-core/labels{/name}","releases_url":"https://api.github.com/repos/civicrm/civicrm-core/releases{/id}","deployments_url":"https://api.github.com/repos/civicrm/civicrm-core/deployments","created_at":"2013-03-01T06:11:56Z","updated_at":"2018-09-13T04:39:22Z","pushed_at":"2018-09-13T05:48:01Z","git_url":"git://github.com/civicrm/civicrm-core.git","ssh_url":"git@github.com:civicrm/civicrm-core.git","clone_url":"https://github.com/civicrm/civicrm-core.git","svn_url":"https://github.com/civicrm/civicrm-core","homepage":null,"size":165711,"stargazers_count":296,"watchers_count":296,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":639,"mirror_url":null,"archived":false,"open_issues_count":110,"license":null,"forks":639,"open_issues":110,"watchers":296,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/civicrm/civicrm-core/pulls/12808"},"html":{"href":"https://github.com/civicrm/civicrm-core/pull/12808"},"issue":{"href":"https://api.github.com/repos/civicrm/civicrm-core/issues/12808"},"comments":{"href":"https://api.github.com/repos/civicrm/civicrm-core/issues/12808/comments"},"review_comments":{"href":"https://api.github.com/repos/civicrm/civicrm-core/pulls/12808/comments"},"review_comment":{"href":"https://api.github.com/repos/civicrm/civicrm-core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/civicrm/civicrm-core/pulls/12808/commits"},"statuses":{"href":"https://api.github.com/repos/civicrm/civicrm-core/statuses/bf8b7d1a95f0005de53fc99b1770614230fa590f"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"eileenmcnaughton","id":336308,"node_id":"MDQ6VXNlcjMzNjMwOA==","avatar_url":"https://avatars2.githubusercontent.com/u/336308?v=4","gravatar_id":"","url":"https://api.github.com/users/eileenmcnaughton","html_url":"https://github.com/eileenmcnaughton","followers_url":"https://api.github.com/users/eileenmcnaughton/followers","following_url":"https://api.github.com/users/eileenmcnaughton/following{/other_user}","gists_url":"https://api.github.com/users/eileenmcnaughton/gists{/gist_id}","starred_url":"https://api.github.com/users/eileenmcnaughton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eileenmcnaughton/subscriptions","organizations_url":"https://api.github.com/users/eileenmcnaughton/orgs","repos_url":"https://api.github.com/users/eileenmcnaughton/repos","events_url":"https://api.github.com/users/eileenmcnaughton/events{/privacy}","received_events_url":"https://api.github.com/users/eileenmcnaughton/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":0,"deletions":6,"changed_files":1}}
{"actor":{"display_login":"eileenmcnaughton"}}