Forum
Start not working on collections
Can you see any issues with this code guys?
perch_collection('News', [
'filter' => 'news_date',
'match' => 'lte',
'value' => date('Y-m-d H:i:s'),
'sort' =>'news_date',
'sort-order' =>'DESC',
'start' => 20,
'paginate' => false,
]);
I can't get the start to work. Just starts at the beginning...
Try removing the
paginate
option completely.