From b60c0e523c799ee3890407079a41eb029355f208 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20=C3=81ngel=20San=20Mart=C3=ADn?= Date: Mon, 20 Nov 2017 21:38:07 +0100 Subject: [PATCH] Fix sorting in siblings calculation, it is the name (file name) not the title. --- YACReaderLibrary/db_helper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/YACReaderLibrary/db_helper.cpp b/YACReaderLibrary/db_helper.cpp index f594405c..381de0e6 100644 --- a/YACReaderLibrary/db_helper.cpp +++ b/YACReaderLibrary/db_helper.cpp @@ -875,7 +875,7 @@ QList 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 {