mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
optional query parameter to filter out old entries from results
This commit is contained in:
@@ -41,7 +41,7 @@ public class NextUnreadRedirectPage extends WebPage {
|
||||
List<FeedEntryStatus> statuses = null;
|
||||
if (StringUtils.isBlank(categoryId)
|
||||
|| CategoryREST.ALL.equals(categoryId)) {
|
||||
statuses = feedEntryStatusDAO.findAll(user, true, 0, 1,
|
||||
statuses = feedEntryStatusDAO.findAll(user, true, null, 0, 1,
|
||||
ReadingOrder.desc, true);
|
||||
} else {
|
||||
FeedCategory category = feedCategoryDAO.findById(user,
|
||||
@@ -50,7 +50,7 @@ public class NextUnreadRedirectPage extends WebPage {
|
||||
List<FeedCategory> children = feedCategoryDAO
|
||||
.findAllChildrenCategories(user, category);
|
||||
statuses = feedEntryStatusDAO.findByCategories(children, user,
|
||||
true, 0, 1, ReadingOrder.desc, false);
|
||||
true, null, 0, 1, ReadingOrder.desc, false);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user