mirror of https://github.com/KDE/kasts.git
parent
500dc7fc9b
commit
2b363b6cec
|
@ -71,7 +71,7 @@ DataManager::DataManager()
|
|||
|
||||
// Check for "new" entries
|
||||
if (SettingsManager::self()->autoQueue()) {
|
||||
query.prepare(QStringLiteral("SELECT id FROM Entries WHERE feed=:feed AND new=:new;"));
|
||||
query.prepare(QStringLiteral("SELECT id FROM Entries WHERE feed=:feed AND new=:new ORDER BY updated ASC;"));
|
||||
query.bindValue(QStringLiteral(":feed"), feedurl);
|
||||
query.bindValue(QStringLiteral(":new"), true);
|
||||
Database::instance().execute(query);
|
||||
|
|
Loading…
Reference in New Issue