Well, we're half way there. It kind of worked, technically the select worked and selected the data in the correct order.
But the problem is this: The $paginator helper does not recognize the $order var. So when I call $paginator->sort(), it sorts by its own set of default criteria. This criteria I cannot figure out how to set just yet. Do you know how to control the PaginatorHelpers default order? On Jun 6, 12:46 pm, Falagar <[EMAIL PROTECTED]> wrote: > Just set var $order in the appropriate model and that naturally will > be the default order and direction for pagination as well. > > On Jun 6, 11:15 am, rtconner <[EMAIL PROTECTED]> wrote: > > > Ok, right now I'm leaning towards "I've found a bug". But we'll see > > how this pans out. Lets start here.. a simple quesiton... If this > > gets anwered, maybe there are no problems. > > > What is the correct way to set the default pagination direction and > > column using the pagination in Cake 1.2? > > > (FYI, a direction or sort column in the $paginate variable in the > > controller seems to not let that value ever change using the data from > > the url) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---