I found my own answer. To anyone who needs this see the following.
In your function in the controller that you would like to have the
custom order on do this
$this->paginate = array('order' => 'yourModel.yourColumn DESC');
$data = $this->paginate('YourModel', array('yourColumn' =>
'condition'));
Hi all...found my own answer to this question and i hope this helps
someone .
in your function in the controller that you would like to have the
custom order on do this
$this->paginate = array('order' => 'yourModel.yourColumn DESC');
$data = $this->paginate('YourModel', array('yourColumn' =>
'con
Hi, im sure this is a simple question but i can't find any docs
related to this...
I have multiple views coming from one controller (as normal)
I would like to paginate them differently in each view.
say view a, b, and c, are paginated ASC and view d, and e, are
paginated DESC
I have in my cont