mirror of
https://github.com/YACReader/yacreader
synced 2025-07-14 02:54:46 -04:00
Fix sorting in siblings calculation, it is the name (file name) not the title.
This commit is contained in:
@ -875,7 +875,7 @@ QList<ComicDB> DBHelper::getSortedComicsFromParent(qulonglong parentId, QSqlData
|
|||||||
{
|
{
|
||||||
if(c1.info.number.isNull() && c2.info.number.isNull())
|
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
|
else
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user