if cake is really helpful then how come the ibm tutorial full of bugs and I am 
talking of the jan 08 version ? Thought cake is suppose to make life easier for 
programmers but if need to update your code every month to keep up with 
platform without even putting in new features then life is indeed hard.

> Date: Mon, 1 Sep 2008 00:33:18 -0700
> Subject: Re: ORDER BY conundrum
> From: [EMAIL PROTECTED]
> To: [email protected]
> 
> 
> var $paginate = array('order' => 'name ASC, date DESC');
> 
> this works fine.
> 
> It may be that the pagination helper wont make a link for you, but im
> sure u can figure that out.
> 
> alek
> 
> On 1 Sep, 02:42, seanislegend <[EMAIL PROTECTED]> wrote:
> > OK, so I'm using Find to retrieve data as I need to set recursive to
> > 1.
> >
> > I've got a 'filter' form on my page which allows a user to sort how a
> > bands' shows are displayed. The choices are by band name, date and
> > location and either ascending or descending.
> >
> > My problem is with ordering...when the user is choosing to order by
> > band name, I want to order by 'band,date ASC' (or descending if
> > selected) - otherwise it'll be simply 'date ASC' etc.
> >
> > I can't find a way to do this...any ideas?
> > Thanks.
> > 

_________________________________________________________________
Manage multiple email accounts with Windows Live Mail effortlessly.
http://www.get.live.com/wl/all
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to