فهرست منبع

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

Fix entry DAO query usage
Marien Fressinaud 11 سال پیش
والد
کامیت
c80627fd4b
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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) {