On Feb 17, 2008 7:37 PM, b logica <[EMAIL PROTECTED]> wrote: > On Feb 17, 2008 2:35 PM, francky06l <[EMAIL PROTECTED]> wrote: > > > > you can set the main order by $this->Member->order = "last_name ASC", > > before calling the find. > > hth > > > > Ah, so simple. That works, although i'm seeing a notice that order is > undefined with debug set to 2. No big deal. >
Ah, so stupid! I just looked at the notice more closely. The complaint was that $order was undefined in the *controller*. Of course, I'd forgotten to remove it from the find() call. I set it to null and now everything is peachy. Thanks again! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
