Results 1 to 1 of 1
Nov 25, 2008, 21:56 #1
Implement paging on ordered results in cakephp
I am trying to implemnet paging in my application that i developed in cakephp, if i fetch all the records and then implement paging, it works finr like:
$result = $this->User->find('all');
but when i try to implement ordering like:
$result = $this->Ecelebrity->find('all', array('order' => 'Ecelebrity.id DESC'));
the results are ordered,
doesn't show ordered results.
does anyone know a way to implement paging on those ordered results?
Thanks in advance,