mirror of
https://github.com/null2264/yokai.git
synced 2025-06-20 18:24:42 +00:00
fix(library): Accidentally swap global open random manga with non-global
This commit is contained in:
parent
a4a7f8fb6d
commit
cf06ebdb8b
2 changed files with 8 additions and 2 deletions
|
@ -86,3 +86,9 @@ WHERE _id = :mangaId;
|
|||
|
||||
selectLastInsertedRowId:
|
||||
SELECT last_insert_rowid();
|
||||
|
||||
deleteNotInLibraryAndNotReadBySourceIds:
|
||||
DELETE FROM mangas
|
||||
WHERE favorite = :favorite AND source IN :sourceIds AND _id NOT IN (
|
||||
SELECT chapters.manga_id FROM chapters WHERE read = 1 OR last_page_read != 0
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue