For future people with this problem...
Well I found something that finally worked the way I want it. I'm not
sure if this is the proper way to order pagination, but its the only
one which works properly.

var $paginate => array('order'=>array('account_number' => 'desc'));

gwoo said on IRC that array('order' => 'account_number ASC') should
work, but paginator does not properly recognize it. I'll file a bug on
that.


On Jun 6, 12:15 pm, 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 $paginatevariable 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 [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