diff options
Diffstat (limited to 'p/api/greader.php')
| -rw-r--r-- | p/api/greader.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/p/api/greader.php b/p/api/greader.php index f8390e3ef..615f83567 100644 --- a/p/api/greader.php +++ b/p/api/greader.php @@ -572,7 +572,7 @@ final class GReaderAPI { continue; } - $feed = FreshRSS_CategoryDAO::findFeed($categories, $entry->feedId()); + $feed = FreshRSS_Category::findFeed($categories, $entry->feedId()); if ($feed === null) { continue; } @@ -694,7 +694,7 @@ final class GReaderAPI { } $entryDAO = FreshRSS_Factory::createEntryDao(); - $entries = $entryDAO->listWhere($type, $include_target, $state, $order === 'o' ? 'ASC' : 'DESC', $count, $continuation, $searches); + $entries = $entryDAO->listWhere($type, $include_target, $state, $order === 'o' ? 'ASC' : 'DESC', $count, 0, $continuation, $searches); $entries = iterator_to_array($entries); //TODO: Improve $items = self::entriesToArray($entries); @@ -746,7 +746,7 @@ final class GReaderAPI { } $entryDAO = FreshRSS_Factory::createEntryDao(); - $ids = $entryDAO->listIdsWhere($type, $id, $state, $order === 'o' ? 'ASC' : 'DESC', $count, $continuation, $searches); + $ids = $entryDAO->listIdsWhere($type, $id, $state, $order === 'o' ? 'ASC' : 'DESC', $count, 0, $continuation, $searches); if ($ids === null) { self::internalServerError(); } |
