mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
Fix comic number missing from reading lists content provided through the server
This commit is contained in:
parent
2294ae63f6
commit
59ff02631e
@ -387,7 +387,7 @@ QList<ComicDB> DBHelper::getReadingListFullContent(qulonglong libraryId, qulongl
|
|||||||
if (getFullComicInfoFields) {
|
if (getFullComicInfoFields) {
|
||||||
params = "*";
|
params = "*";
|
||||||
} else {
|
} else {
|
||||||
params = "c.id,c.parentId,c.fileName,c.path,ci.title,ci.currentPage,ci.numPages,ci.hash,ci.read,ci.coverSizeRatio";
|
params = "c.id,c.parentId,c.fileName,c.path,ci.title,ci.currentPage,ci.numPages,ci.hash,ci.read,ci.coverSizeRatio,ci.number";
|
||||||
}
|
}
|
||||||
|
|
||||||
selectQuery.prepare("SELECT " + params + " "
|
selectQuery.prepare("SELECT " + params + " "
|
||||||
@ -427,6 +427,7 @@ QList<ComicDB> DBHelper::getReadingListFullContent(qulonglong libraryId, qulongl
|
|||||||
comic.info.hash = selectQuery.value(7).toString();
|
comic.info.hash = selectQuery.value(7).toString();
|
||||||
comic.info.read = selectQuery.value(8).toBool();
|
comic.info.read = selectQuery.value(8).toBool();
|
||||||
comic.info.coverSizeRatio = selectQuery.value(9).toFloat();
|
comic.info.coverSizeRatio = selectQuery.value(9).toFloat();
|
||||||
|
comic.info.number = selectQuery.value(9).toInt();
|
||||||
}
|
}
|
||||||
|
|
||||||
list.append(comic);
|
list.append(comic);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user