mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
smarter queries for other types
This commit is contained in:
@@ -49,8 +49,8 @@ public class NextUnreadRedirectPage extends WebPage {
|
||||
if (category != null) {
|
||||
List<FeedCategory> children = feedCategoryDAO
|
||||
.findAllChildrenCategories(user, category);
|
||||
statuses = feedEntryStatusDAO.findByCategories(children, user,
|
||||
true, null, 0, 1, ReadingOrder.desc, false);
|
||||
statuses = feedEntryStatusDAO.findUnreadByCategories(children,
|
||||
null, 0, 1, ReadingOrder.desc, false);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user