summaryrefslogtreecommitdiffstats
path: root/templates/part.items.php
diff options
context:
space:
mode:
authorAlessandro Cosentino <cosenal@gmail.com>2012-08-15 09:51:12 -0400
committerAlessandro Cosentino <cosenal@gmail.com>2012-08-15 09:51:12 -0400
commit04497e9e68516537244c359a06f29aa6b2afce08 (patch)
treeca50fbcf31f672fbe21848ddb43e733fe9c83bb6 /templates/part.items.php
parent51bf7344a712d0ce140020e75099b11a8d007639 (diff)
shows counter when adding feed; fixes bug when removing folder
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 afac3e10a..399274e30 100644
--- a/templates/part.items.php
+++ b/templates/part.items.php
@@ -6,7 +6,7 @@ $itemMapper = new OCA\News\ItemMapper();
$showOnlyUnread = true; // FIXME: get this from the settings db
if($showOnlyUnread){
- $items = $itemMapper->findAllStatus($feedId, OCA\News\StatusFlag::Unread);
+ $items = $itemMapper->findAllStatus($feedId, OCA\News\StatusFlag::UNREAD);
} else {
$items = $itemMapper->findAll($feedId);
}