this is pagination option in my controller:
$this->paginate['Product'] = array(
'limit' => 18,
'recursive' => 0,
'fields' => array('Product.id', 'Product.title',
'Product.price'),
'sort' => 'Product.id DESC'
);
in my view, $paginator->sortDir() outputs asc...
but if i specify /sort:id/direction:desc in the url, it outputs right
desc
is this a bug or something else?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---