Try using this as an example for your pagination
$this->paginate = array(
'conditions' => array( ... )
'limit' => 5,
);
$myResults = $this->paginate( 'MyModel' );
質問
I have a problem with this pagination i use this code
var $paginate = array(
'limit' => 5)
yes it work but after i code my search plugin, this pagination code is not working
please help me
正しい解決策はありません
他のヒント
Try using this as an example for your pagination
$this->paginate = array(
'conditions' => array( ... )
'limit' => 5,
);
$myResults = $this->paginate( 'MyModel' );