Fixing issue where GROUP BY clause was positioned on the wrong place
Fixing issue where GROUP BY clause was positioned on the wrong place

git-svn-id: 5860920b332e8b1c20d5ac1ddb0cfb1512ef151a@7078 3807eeeb-6ff5-0310-8944-8be069107fe0

jeffblack360/cakephp,mvdriel/cakephp,mvdriel/cakephp,tenkoma/cakephp,eryw/cakephp,petteyg/cakephp,khoimt/cakephp-study,Phillaf/cakephp,CVO-Technologies/cakephp,CakeDC/cakephp,garethellis36/cakephp,cakephp-fr/cakephp,timhoeppner/cakephp,adopico/cakephp,pbaire/cakephp,tgr0ss/cakephp,tisu2tisu/cakephp,jerems02/cakephp,ndm2/cakephp,eboominathan/cakephp,nrother/cakephp,bravo-kernel/cakephp,CakeDC/cakephp,nrother/cakephp,burriko/cakephp,eryw/cakephp,dakota/cakephp,justinyost/cakephp,khoimt/cakephp-study,petteyg/cakephp,davidyell/cakephp,CakeDC/cakephp,cakephp-fr/cakephp,Balachan27/cakephp,gmponos/cakephp,ndm2/cakephp,bravo-kernel/cakephp,davidyell/cakephp,cakephp/cakephp,ADmad/cakephp,yinhe007/cakephp,thinkingmedia/cakephp,et304383/passbolt_api,CakeDC/cakephp,tisu2tisu/cakephp,eryw/cakephp,cakephp/cakephp,et304383/passbolt_api,kumamidori/cakephp,dakota/cakephp,gmponos/cakephp,Phillaf/cakephp,ADmad/cakephp,timhoeppner/cakephp,pbaire/cakephp,Balachan27/cakephp,petteyg/cakephp,berrygoudswaard/cakephp,ionas/cakephp,CVO-Technologies/cakephp,justinyost/cakephp,khoimt/cakephp-study,berrygoudswaard/cakephp,erikfig/cakephp,jjj117/cakephp,tenkoma/cakephp,ionas/cakephp,dakota/cakephp,web-player/cakephp,kumamidori/cakephp,thinkingmedia/cakephp,erikfig/cakephp,ndm2/cakephp,jjj117/cakephp,michaelze/cakephp,dkarvounaris/cakephp,et304383/passbolt_api,tisu2tisu/cakephp,tgr0ss/cakephp,web-player/cakephp,ionas/cakephp,eboominathan/cakephp,dakota/cakephp,jerems02/cakephp,et304383/passbolt_api,Phillaf/cakephp,burriko/cakephp,HavokInspiration/cakephp,jeffblack360/cakephp,adopico/cakephp,gmponos/cakephp,pbaire/cakephp,cakephp-fr/cakephp,et304383/passbolt_api,burriko/cakephp,kumamidori/cakephp,tenkoma/cakephp,jjj117/cakephp,akintoey/cakephp,mvdriel/cakephp,HavokInspiration/cakephp,michaelze/cakephp,garethellis36/cakephp,Balachan27/cakephp,petteyg/cakephp,justinyost/cakephp,garethellis36/cakephp,cakephp/cakephp,dkarvounaris/cakephp,yinhe007/cakephp,dkarvounaris/cakephp,elboletaire/cakephp,HavokInspiration/cakephp,nrother/cakephp,adopico/cakephp,ADmad/cakephp,ADmad/cakephp,web-player/cakephp,erikfig/cakephp,tgr0ss/cakephp,elboletaire/cakephp,eboominathan/cakephp,mvdriel/cakephp,michaelze/cakephp,akintoey/cakephp,jeffblack360/cakephp,yinhe007/cakephp,elboletaire/cakephp,bravo-kernel/cakephp,ndm2/cakephp,timhoeppner/cakephp,berrygoudswaard/cakephp,akintoey/cakephp,thinkingmedia/cakephp,tenkoma/cakephp,davidyell/cakephp,jerems02/cakephp,cakephp/cakephp,CVO-Technologies/cakephp,garethellis36/cakephp