aboutsummaryrefslogtreecommitdiff
path: root/p
diff options
context:
space:
mode:
authorGravatar Alexis Degrugillier <github@ainw.org> 2015-03-04 23:04:12 -0500
committerGravatar Alexis Degrugillier <github@ainw.org> 2015-03-04 23:04:12 -0500
commitd1c9378d338027e39174fecb5f7a047218ad2113 (patch)
tree30114f74e8acb5e21629676506d1d91011aad864 /p
parentf3f8d73dda3c9882f383e721eb3cc47be5a6c706 (diff)
Fix entry DAO query usage
I did not fix the call in the previous commit. I hope this one is the last change needed. We definitely need a templating engine so we could use the same controller to output different things. This will remove code duplication between the api and the web interface. It will allows us to build other type of api, and also refactor the rss feed as a different view of the same dataset.
Diffstat (limited to 'p')
-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) {