summaryrefslogtreecommitdiffstats
path: root/templates/part.items.php
diff options
context:
space:
mode:
authorAlessandro Cosentino <cosenal@gmail.com>2012-09-13 11:17:02 -0400
committerAlessandro Cosentino <cosenal@gmail.com>2012-09-13 11:17:02 -0400
commit008e565bed860e9f61dd9aaeefca74e003b42f8a (patch)
tree1f2a20c58c8e61c058a8859bcd07c9f665ac603f /templates/part.items.php
parent5c164090799ff96073915a9f21cf83038f828048 (diff)
small refactoring on the backend
Diffstat (limited to 'templates/part.items.php')
-rw-r--r--templates/part.items.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/part.items.php b/templates/part.items.php
index b44a2688c..098718a6b 100644
--- a/templates/part.items.php
+++ b/templates/part.items.php
@@ -15,7 +15,7 @@ if ($feedId == -1 || $feedId == -2) { //TODO: change this values, too obscure
}
else {
if($showAll) {
- $items = $itemMapper->findAll($feedId);
+ $items = $itemMapper->findByFeedId($feedId);
} else {
$items = $itemMapper->findAllStatus($feedId, OCA\News\StatusFlag::UNREAD);
}