Or use counterCache. On Mon, Jul 7, 2008 at 10:01 AM, Chris Hartjes <[EMAIL PROTECTED]> wrote: > > On Mon, Jul 7, 2008 at 8:52 AM, Kyle Decot <[EMAIL PROTECTED]> wrote: >> >> Is it possible to order a paginated set of results by the total number >> of comments a user has? > > Yes, but you will have to create a customized pageCount() method. > Check out this link, as it might help you: > > http://www.littlehart.net/atthekeyboard/2008/03/04/custom-cakephp-12-pagination-queries/ > > -- > Chris Hartjes > Internet Loudmouth > Motto for 2008: "Moving from herding elephants to handling snakes..." > @TheKeyBoard: http://www.littlehart.net/atthekeyboard > > > >
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---