Cheers, got it working.

On Sep 1, 8:33 am, alkemann <[EMAIL PROTECTED]> wrote:
> 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.
--~--~---------~--~----~------------~-------~--~----~
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