{"action":"created","issue":{"url":"https://api.github.com/repos/cooperl22/laravel-db2/issues/12","repository_url":"https://api.github.com/repos/cooperl22/laravel-db2","labels_url":"https://api.github.com/repos/cooperl22/laravel-db2/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/cooperl22/laravel-db2/issues/12/comments","events_url":"https://api.github.com/repos/cooperl22/laravel-db2/issues/12/events","html_url":"https://github.com/cooperl22/laravel-db2/pull/12","id":135590707,"number":12,"title":"[Bug] compileSelect forgets a 'select' statement when using 'union'","user":{"login":"sarahkemp","id":2836313,"avatar_url":"https://avatars.githubusercontent.com/u/2836313?v=3","gravatar_id":"","url":"https://api.github.com/users/sarahkemp","html_url":"https://github.com/sarahkemp","followers_url":"https://api.github.com/users/sarahkemp/followers","following_url":"https://api.github.com/users/sarahkemp/following{/other_user}","gists_url":"https://api.github.com/users/sarahkemp/gists{/gist_id}","starred_url":"https://api.github.com/users/sarahkemp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sarahkemp/subscriptions","organizations_url":"https://api.github.com/users/sarahkemp/orgs","repos_url":"https://api.github.com/users/sarahkemp/repos","events_url":"https://api.github.com/users/sarahkemp/events{/privacy}","received_events_url":"https://api.github.com/users/sarahkemp/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-02-23T00:39:52Z","updated_at":"2016-08-24T07:44:20Z","closed_at":"2016-08-24T07:44:20Z","pull_request":{"url":"https://api.github.com/repos/cooperl22/laravel-db2/pulls/12","html_url":"https://github.com/cooperl22/laravel-db2/pull/12","diff_url":"https://github.com/cooperl22/laravel-db2/pull/12.diff","patch_url":"https://github.com/cooperl22/laravel-db2/pull/12.patch"},"body":"Some unions don't get the select clause they need if you don't manually ->select('*')\r\n\r\nPerhaps this problem is only present in my particular use-case, but this seems to be a duplicate of the bug reported and fixed here: https://github.com/laravel/framework/issues/1223 \r\n\r\nThe proposed change is just a copy of the change made in /Illuminate/Database/Query/Grammars/Grammar.php in response to that bug report.\r\n\r\nThis fixed my problem, hopefully it is acceptable."},"comment":{"url":"https://api.github.com/repos/cooperl22/laravel-db2/issues/comments/241983372","html_url":"https://github.com/cooperl22/laravel-db2/pull/12#issuecomment-241983372","issue_url":"https://api.github.com/repos/cooperl22/laravel-db2/issues/12","id":241983372,"user":{"login":"cooperl22","id":12048268,"avatar_url":"https://avatars.githubusercontent.com/u/12048268?v=3","gravatar_id":"","url":"https://api.github.com/users/cooperl22","html_url":"https://github.com/cooperl22","followers_url":"https://api.github.com/users/cooperl22/followers","following_url":"https://api.github.com/users/cooperl22/following{/other_user}","gists_url":"https://api.github.com/users/cooperl22/gists{/gist_id}","starred_url":"https://api.github.com/users/cooperl22/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cooperl22/subscriptions","organizations_url":"https://api.github.com/users/cooperl22/orgs","repos_url":"https://api.github.com/users/cooperl22/repos","events_url":"https://api.github.com/users/cooperl22/events{/privacy}","received_events_url":"https://api.github.com/users/cooperl22/received_events","type":"User","site_admin":false},"created_at":"2016-08-24T07:44:20Z","updated_at":"2016-08-24T07:44:20Z","body":"Pull request accepted. Changes in the next release"}}
{"actor":{"display_login":"cooperl22"}}