In my function index() this code not return all
$this->paginate = [
'contain' => ['TipoPlatos','TipoArticulos'],
];
$platos = $this->paginate($this->Platos);
$this->set(compact('platos'));
This only return 20 platos but i have 23.
If y use this
$platos2 = $this->Platos->find('all')->select(['id'])->toArray();
i have all, but i dont know why the first dont return all.
Can the failure be obtained from the paginate?