mirror of
https://github.com/YACReader/yacreader
synced 2025-07-22 15:04:40 -04:00
Merged luisangelsm/yacreader/develop into develop
This commit is contained in:
@ -387,7 +387,7 @@ void DBHelper::updateProgress(qulonglong libraryId, const ComicInfo &comicInfo)
|
||||
ComicDB comic = DBHelper::loadComic(comicInfo.id,db);
|
||||
comic.info.currentPage = comicInfo.currentPage;
|
||||
comic.info.hasBeenOpened = true;
|
||||
comic.info.read = comicInfo.read || comicInfo.currentPage == comicInfo.numPages;
|
||||
comic.info.read = comic.info.read || comic.info.currentPage == comic.info.numPages;
|
||||
|
||||
DBHelper::updateReadingRemoteProgress(comic.info,db);
|
||||
|
||||
@ -875,7 +875,7 @@ QList<ComicDB> DBHelper::getSortedComicsFromParent(qulonglong parentId, QSqlData
|
||||
{
|
||||
if(c1.info.number.isNull() && c2.info.number.isNull())
|
||||
{
|
||||
return naturalSortLessThanCI(c1.info.title.toString(), c2.info.title.toString());
|
||||
return naturalSortLessThanCI(c1.name, c2.name);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user