Skip to content

A free, self-hostable news aggregator…

Fix entry DAO query usage

Alexis Degrugillierd1c9378d3380
diff --git a/p/api/greader.php b/p/api/greader.php
index 060aa45ee..4554a3f9c 100644
--- a/p/api/greader.php
+++ b/p/api/greader.php
@@ -465,7 +465,7 @@ function streamContentsItemsIds($streamId, $start_time, $count, $order, $exclude
}
$entryDAO = FreshRSS_Factory::createEntryDao();
- $ids = $entryDAO->listIdsWhere($type, $id, $state, $order === 'o' ? 'ASC' : 'DESC', $count, '', '', $start_time);
+ $ids = $entryDAO->listIdsWhere($type, $id, $state, $order === 'o' ? 'ASC' : 'DESC', $count, '', new FreshRSS_Search(''), $start_time);
$itemRefs = array();
foreach ($ids as $id) {