|
|
@ -214,7 +214,7 @@ namespace NzbDrone.Core.Books.Calibre
|
|
|
|
{
|
|
|
|
{
|
|
|
|
var edition = file.Edition.Value;
|
|
|
|
var edition = file.Edition.Value;
|
|
|
|
var book = edition.Book.Value;
|
|
|
|
var book = edition.Book.Value;
|
|
|
|
var serieslink = book.SeriesLinks.Value.FirstOrDefault(x => x.Series.Value.Title.IsNotNullOrWhiteSpace());
|
|
|
|
var serieslink = book.SeriesLinks.Value.OrderBy(x => x.SeriesPosition).FirstOrDefault(x => x.Series.Value.Title.IsNotNullOrWhiteSpace());
|
|
|
|
|
|
|
|
|
|
|
|
var series = serieslink?.Series.Value;
|
|
|
|
var series = serieslink?.Series.Value;
|
|
|
|
double? seriesIndex = null;
|
|
|
|
double? seriesIndex = null;
|
|
|
|