Explorar o código

Merge pull request #803 from aledeg/fix-api-take-2

Fix entry DAO query usage
Marien Fressinaud %!s(int64=11) %!d(string=hai) anos
pai
achega
c80627fd4b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      p/api/greader.php

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