There was an error while loading. Please reload this page.
2 parents 5aeba3f + 4c17e92 commit 07406a8Copy full SHA for 07406a8
1 file changed
News-Android-App/src/main/java/de/luhmer/owncloudnewsreader/database/DatabaseConnectionOrm.java
@@ -309,7 +309,8 @@ public int markAllItemsAsReadForCurrentView() {
309
final int itemsPerIteration = 25;
310
311
WhereCondition whereCondition = new WhereCondition.StringCondition(RssItemDao.Properties.Id.columnName + " IN " +
312
- "(SELECT " + CurrentRssItemViewDao.Properties.RssItemId.columnName + " FROM " + CurrentRssItemViewDao.TABLENAME + ")");
+ "(SELECT " + CurrentRssItemViewDao.Properties.RssItemId.columnName + " FROM " + CurrentRssItemViewDao.TABLENAME + ") AND " +
313
+ RssItemDao.Properties.Read_temp + "= 0");
314
315
int iterationCount = 0;
316
List<RssItem> rssItemList;
0 commit comments