mirror of
https://github.com/YACReader/yacreader
synced 2025-06-03 00:58:32 -04:00
Fixed Favorites resorting.
This commit is contained in:
parent
94251d3045
commit
a6204bcc65
@ -650,7 +650,7 @@ void DBHelper::reasignOrderToComicsInFavorites(QList<qulonglong> comicIds, QSqlD
|
||||
QSqlQuery updateOrdering(db);
|
||||
updateOrdering.prepare("UPDATE comic_default_reading_list SET "
|
||||
"ordering = :ordering "
|
||||
"WHERE comic_id = :comic_id AND default_reading_list_id = 0");
|
||||
"WHERE comic_id = :comic_id AND default_reading_list_id = 1");
|
||||
db.transaction();
|
||||
int order = 0;
|
||||
foreach(qulonglong id, comicIds)
|
||||
|
Loading…
x
Reference in New Issue
Block a user