{"action":"created","issue":{"url":"https://api.github.com/repos/thekordy/ticketit/issues/256","repository_url":"https://api.github.com/repos/thekordy/ticketit","labels_url":"https://api.github.com/repos/thekordy/ticketit/issues/256/labels{/name}","comments_url":"https://api.github.com/repos/thekordy/ticketit/issues/256/comments","events_url":"https://api.github.com/repos/thekordy/ticketit/issues/256/events","html_url":"https://github.com/thekordy/ticketit/issues/256","id":177530072,"number":256,"title":"Duplicate user queries","user":{"login":"drtzack","id":3463291,"avatar_url":"https://avatars.githubusercontent.com/u/3463291?v=3","gravatar_id":"","url":"https://api.github.com/users/drtzack","html_url":"https://github.com/drtzack","followers_url":"https://api.github.com/users/drtzack/followers","following_url":"https://api.github.com/users/drtzack/following{/other_user}","gists_url":"https://api.github.com/users/drtzack/gists{/gist_id}","starred_url":"https://api.github.com/users/drtzack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drtzack/subscriptions","organizations_url":"https://api.github.com/users/drtzack/orgs","repos_url":"https://api.github.com/users/drtzack/repos","events_url":"https://api.github.com/users/drtzack/events{/privacy}","received_events_url":"https://api.github.com/users/drtzack/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-09-16T22:06:01Z","updated_at":"2016-09-16T23:35:52Z","closed_at":null,"body":"https://github.com/thekordy/ticketit/blob/0.2/src/TicketitServiceProvider.php#L38\r\n\r\nThis composer('*') line causes so many duplicate user query for each view.\r\n\r\nselect * from `users` where `users`.`id` = '1' limit 1\r\nselect * from `users` where `users`.`id` = '1' limit 1\r\nselect * from `users` where `users`.`id` = '1' limit 1"},"comment":{"url":"https://api.github.com/repos/thekordy/ticketit/issues/comments/247732285","html_url":"https://github.com/thekordy/ticketit/issues/256#issuecomment-247732285","issue_url":"https://api.github.com/repos/thekordy/ticketit/issues/256","id":247732285,"user":{"login":"drtzack","id":3463291,"avatar_url":"https://avatars.githubusercontent.com/u/3463291?v=3","gravatar_id":"","url":"https://api.github.com/users/drtzack","html_url":"https://github.com/drtzack","followers_url":"https://api.github.com/users/drtzack/followers","following_url":"https://api.github.com/users/drtzack/following{/other_user}","gists_url":"https://api.github.com/users/drtzack/gists{/gist_id}","starred_url":"https://api.github.com/users/drtzack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drtzack/subscriptions","organizations_url":"https://api.github.com/users/drtzack/orgs","repos_url":"https://api.github.com/users/drtzack/repos","events_url":"https://api.github.com/users/drtzack/events{/privacy}","received_events_url":"https://api.github.com/users/drtzack/received_events","type":"User","site_admin":false},"created_at":"2016-09-16T23:35:52Z","updated_at":"2016-09-16T23:35:52Z","body":"Yes it does as I'm afraid :(\r\n\r\nUndefined variable: u (View: /Users/zack/Sites/site/resources/views/vendor/ticketit/shared/nav.blade.php) (View: /Users/zack/Sites/site/resources/views/vendor/ticketit/shared/nav.blade.php) (View: /Users/zack/Sites/site/resources/views/vendor/ticketit/shared/nav.blade.php)\r\n"}}
{"actor":{"display_login":"drtzack"}}