Yea thats what it was but it didnt return any results until i hardcoded subscribers instead of $this->modelClass thats what i didnt understand
On 02/06/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > hi > > it should be > > $this->order = $this->modelClass.'.'.$this->sortBy.' > '.strtoupper($this->direction); > > and output : Subscriber.myField myDirection > > then the $this->order is used in the ORDER BY clause > > ORDER BY Subscriber.myField myDirection > > hope this helps > > thomas > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
