A free, self-hostable news aggregator…
Fix API to use the search object
Alexis Degrugillierf3f8d73dda3c
diff --git a/p/api/greader.php b/p/api/greader.phpindex ab1a02244..060aa45ee 100644--- a/p/api/greader.php+++ b/p/api/greader.php@@ -371,7 +371,7 @@ function streamContents($path, $include_target, $start_time, $count, $order, $ex}$entryDAO = FreshRSS_Factory::createEntryDao();- $entries = $entryDAO->listWhere($type, $include_target, $state, $order === 'o' ? 'ASC' : 'DESC', $count, $continuation, '', $start_time);+ $entries = $entryDAO->listWhere($type, $include_target, $state, $order === 'o' ? 'ASC' : 'DESC', $count, $continuation, new FreshRSS_Search(''), $start_time);$items = array();foreach ($entries as $entry) {