Просмотр исходного кода

Merge pull request #801 from aledeg/fix-api

Fix API to use the search object
Marien Fressinaud 11 лет назад
Родитель
Сommit
689af24111
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      p/api/greader.php

+ 1 - 1
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) {