summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2015-03-05 08:39:30 +0100
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2015-03-05 08:39:30 +0100
commitc80627fd4ba5af37662428c0e7c52686a918d2b9 (patch)
tree6641eee9f1a508420f4c9cf9308d0298cd92cd0c
parent0da9ad988cafc5b9946fcf1007ea70d95eaf2a15 (diff)
parentd1c9378d338027e39174fecb5f7a047218ad2113 (diff)
Merge pull request #803 from aledeg/fix-api-take-2
Fix entry DAO query usage
-rw-r--r--p/api/greader.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/p/api/greader.php b/p/api/greader.php
index 060aa45ee..4554a3f9c 100644
--- a/p/api/greader.php
+++ b/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) {