{"action":"created","issue":{"url":"https://api.github.com/repos/phalcon/cphalcon/issues/10166","labels_url":"https://api.github.com/repos/phalcon/cphalcon/issues/10166/labels{/name}","comments_url":"https://api.github.com/repos/phalcon/cphalcon/issues/10166/comments","events_url":"https://api.github.com/repos/phalcon/cphalcon/issues/10166/events","html_url":"https://github.com/phalcon/cphalcon/pull/10166","id":70792386,"number":10166,"title":"[2.0.x] [BUG] fixing bug and other enchantments","user":{"login":"KorsaR-ZN","id":579410,"avatar_url":"https://avatars.githubusercontent.com/u/579410?v=3","gravatar_id":"","url":"https://api.github.com/users/KorsaR-ZN","html_url":"https://github.com/KorsaR-ZN","followers_url":"https://api.github.com/users/KorsaR-ZN/followers","following_url":"https://api.github.com/users/KorsaR-ZN/following{/other_user}","gists_url":"https://api.github.com/users/KorsaR-ZN/gists{/gist_id}","starred_url":"https://api.github.com/users/KorsaR-ZN/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KorsaR-ZN/subscriptions","organizations_url":"https://api.github.com/users/KorsaR-ZN/orgs","repos_url":"https://api.github.com/users/KorsaR-ZN/repos","events_url":"https://api.github.com/users/KorsaR-ZN/events{/privacy}","received_events_url":"https://api.github.com/users/KorsaR-ZN/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-24T20:58:22Z","updated_at":"2015-04-26T16:10:05Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/phalcon/cphalcon/pulls/10166","html_url":"https://github.com/phalcon/cphalcon/pull/10166","diff_url":"https://github.com/phalcon/cphalcon/pull/10166.diff","patch_url":"https://github.com/phalcon/cphalcon/pull/10166.patch"},"body":"fixing bug (prev PR #10144):\r\n```\r\n$builder = $model->getModelsManager()->createBuilder()\r\n->columns($columns)\r\n   ->addFrom('CartItems', 's')\r\n   ->where('s.cart_id=\"6086\"')\r\n   ->groupBy('s.product_id');\r\n\r\necho $readConnection->getDialect()->select($q->getQuery()->parse());\r\n```\r\n\r\nResult:\r\n```\r\nSELECT ``, ``, ``, ``, ``, ``, ``, ``, ``, ``, ``, ``, ``, ``, ``, `` FROM `cart_items` AS `s` WHERE `s`.`cart_id` = '6086' GROUP BY `s`.`product_id`\r\n```"},"comment":{"url":"https://api.github.com/repos/phalcon/cphalcon/issues/comments/96403978","html_url":"https://github.com/phalcon/cphalcon/pull/10166#issuecomment-96403978","issue_url":"https://api.github.com/repos/phalcon/cphalcon/issues/10166","id":96403978,"user":{"login":"KorsaR-ZN","id":579410,"avatar_url":"https://avatars.githubusercontent.com/u/579410?v=3","gravatar_id":"","url":"https://api.github.com/users/KorsaR-ZN","html_url":"https://github.com/KorsaR-ZN","followers_url":"https://api.github.com/users/KorsaR-ZN/followers","following_url":"https://api.github.com/users/KorsaR-ZN/following{/other_user}","gists_url":"https://api.github.com/users/KorsaR-ZN/gists{/gist_id}","starred_url":"https://api.github.com/users/KorsaR-ZN/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KorsaR-ZN/subscriptions","organizations_url":"https://api.github.com/users/KorsaR-ZN/orgs","repos_url":"https://api.github.com/users/KorsaR-ZN/repos","events_url":"https://api.github.com/users/KorsaR-ZN/events{/privacy}","received_events_url":"https://api.github.com/users/KorsaR-ZN/received_events","type":"User","site_admin":false},"created_at":"2015-04-26T16:10:05Z","updated_at":"2015-04-26T16:10:05Z","body":"@andresgutierrez I will send other PR"}}