#5123: Incorrect find('count') results when using "GROUP BY" and
Controller::paginate()
------------------------------------------+---------------------------------
    Reporter:  bunyan                     |         Owner:          
        Type:  Enhancement                |        Status:  reopened
    Priority:  Low                        |     Milestone:  2.0.0.x 
   Component:  MySQL                      |       Version:  Alpha   
    Severity:  Normal                     |    Resolution:          
    Keywords:  paginate, count, group by  |   Php_version:  PHP 5   
Cake_version:  1.2.0.7296 RC2             |  
------------------------------------------+---------------------------------
Comment (by mark_story):

 Pedro: How is flexibility not afforded by the current options?  There are
 two different ways you can solve using group and paginate(). I don't
 really see how flexibility is lacking.  Furthermore there is nothing
 stopping you overriding _findCount in your models and implementing a more
 specific behavior for individual models there.

-- 
Ticket URL: <https://trac.cakephp.org/ticket/5123#comment:15>
CakePHP : The Rapid Development Framework for PHP <https://trac.cakephp.org/>
Cake is a rapid development framework for PHP which uses commonly known design 
patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC. 
Our primary goal is to provide a structured framework that enables PHP users at 
all levels to rapidly develop robust web applications, without any loss to 
flexibility.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"tickets cakephp" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to