Volume relative numbering (#1421)

* Order issues by volume first is series detail

* Display volume along with chapter in chapters tab

* Move volume title to tooltip in card-item

* Consolidate card-item tooltip into one variable.

* Version as per comments
This commit is contained in:
tjarls 2022-08-14 14:40:46 +01:00 committed by GitHub
parent f22e8e88d7
commit c328f684a0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 17 additions and 18 deletions

View file

@ -485,8 +485,7 @@ public class SeriesService : ISeriesService
if (v.Number == 0) return c;
c.VolumeTitle = v.Name;
return c;
})).ToList();
}).OrderBy(c => float.Parse(c.Number), new ChapterSortComparer()));
foreach (var chapter in chapters)
{
@ -505,8 +504,7 @@ public class SeriesService : ISeriesService
} else
{
retChapters = chapters
.Where(ShouldIncludeChapter)
.OrderBy(c => float.Parse(c.Number), new ChapterSortComparer());
.Where(ShouldIncludeChapter);
}
var storylineChapters = volumes