{"action":"closed","issue":{"number":47,"created_at":"2011-10-19T12:35:32Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"When using groupBy in the query, the method Entity#getTotalCount fails with a \"NonUniqueResultException\".\r\n\r\nExample:\r\n\r\n```php\r\n<?php\r\n$source->setCallback(Source::EVENT_PREPARE_QUERY, function($qb)  {\r\n    $qb->groupBy(Entity::TABLE_ALIAS .'.id');\r\n});\r\n```\r\n\r\n\r\n","comments":0,"title":"getTotalCount and groupBy","updated_at":"2011-10-19T20:41:50Z","url":"https://api.github.com/repos/S0RIEN/DataGridBundle/issues/47","id":1993348,"assignee":null,"milestone":null,"closed_at":"2011-10-19T20:41:50Z","user":{"avatar_url":"https://secure.gravatar.com/avatar/6af2349bafc0a4b84e2f9c00e1388909?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"6af2349bafc0a4b84e2f9c00e1388909","url":"https://api.github.com/users/Spea","id":495017,"login":"Spea"},"html_url":"https://github.com/S0RIEN/DataGridBundle/issues/47","labels":[],"state":"closed"},"legacy":{"number":47,"action":"closed","issue":1993348}}