Fetch "chapters with state" sorted by asc "source order"

It was possible that the chapters were out of order which e.g. could cause issues with selecting the next chapters to download
This commit is contained in:
schroda
2024-05-13 01:21:51 +02:00
parent 3bc6777043
commit 760de9e791

View File

@@ -66,6 +66,7 @@ export const GET_MANGAS_CHAPTER_IDS_WITH_STATE = gql`
chapters(
filter: { mangaId: { in: $mangaIds } }
condition: { isDownloaded: $isDownloaded, isRead: $isRead, isBookmarked: $isBookmarked }
orderBy: SOURCE_ORDER
) {
nodes {
id