ich ein Problem in cakephp pagination.Before habe ich kam tief würde Ich mag einige Code anzuzeigen, die ich in meinem Controllerwie in cakephp Paginieren, wenn Ergebnis kommt von mehreren Bedingungen beitreten
$this->paginate = array(
'joins' => array(
array(
'table' => 'job_posting_lists',
'conditions'=> array('job_posting_lists.firm_id')),
array(
'table' => 'firmsdetails',
'alias' => 'st',
'conditions'=> array('st.id')),
),
'conditions' =>array('job_posting_lists.select_industry'=>$id,'job_posting_lists.verify'=>1),
'fields' => array('job_posting_lists.*','st.*'),
'limit' => 3,
'contain' => array('job_posting_lists'));
$ListjobBycategories = $this->paginate();
echo "<pre>";print_r($ListjobBycategories); die;
$this->set('jobbycat',$ListjobBycategories);
das Ergebnis kommen in ListjobBycategories richtig, aber es mehr Daten über 1230 und in meinem job_posting_datas gibt nur 5 Zeilen die nächste Seite Rückkehr gleiche Ergebnis, was ich tun
Ich möchte $ ListjobBycategories Daten – user5876330