Is there filter function equivalent to
$fileList->filterByDateAdded($date, $comparison = ‘=’);
for Express?
Is there filter function equivalent to
$fileList->filterByDateAdded($date, $comparison = ‘=’);
for Express?
I don’t think there is currently. Use query builder for this instead.
$entity = \Express::getObjectByHandle('express_object_handle');
$list = new \Concrete\Core\Express\EntryList($entity);
$list->getQueryObject()
->addSelect('e.exEntryDateCreated')
->andWhere('e.exEntryDateCreated >= :exEntryDateCreated')
->setParameter(':exEntryDateCreated', '2022-04-13 19:58:00')
;
//$list->debug();
$entries = $list->getResults();
Thank you Parasek. You just opened up a whole new area of ConcreteCMS I hadn’t explored or used before.