I'm not sure exactly how the pagination component works, but will it still work correctly if you pass $order, $limit, and $page to a custom query after using list($order,$limit,$page) = $this->Pagination- >init($criteria); right before the call? I was just wondering...
On Mar 29, 2:07 pm, "Christoph" <[EMAIL PROTECTED]> wrote: > > Your DB scheme confuses me... Maybe you could just do a manual query > > from your model? Several times manual queries have been better/more > > efficient to use than attempting to pull it off with cake. > > My only problem with that is the pagination component doesn't really > play well with manual queries. That having been said, I do see a > reply that shows me how it can be done. I'll have to try that and see > how it works for me. > > It just would be nice if you could tell Cake _how_ you wanted to use > the criteria you provide. Whether as part of one of the JOINS (and > which one) or as part of the WHERE. > > thnx, > Christoph --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~----------~----~----~----~------~----~------~--~---