Fixed: Book title should not include the series

pull/354/head
ta264 4 years ago
parent 46c0e3c481
commit dbba39c487

@ -583,7 +583,7 @@ namespace NzbDrone.Core.MetadataSource.Goodreads
var book = new Book var book = new Book
{ {
ForeignBookId = resource.Work.Id.ToString(), ForeignBookId = resource.Work.Id.ToString(),
Title = (resource.Work.OriginalTitle ?? resource.Title).CleanSpaces(), Title = (resource.Work.OriginalTitle ?? resource.TitleWithoutSeries).CleanSpaces(),
TitleSlug = resource.Id.ToString(), TitleSlug = resource.Id.ToString(),
ReleaseDate = resource.Work.OriginalPublicationDate ?? resource.PublicationDate, ReleaseDate = resource.Work.OriginalPublicationDate ?? resource.PublicationDate,
Ratings = new Ratings { Votes = resource.Work.RatingsCount, Value = resource.Work.AverageRating }, Ratings = new Ratings { Votes = resource.Work.RatingsCount, Value = resource.Work.AverageRating },

Loading…
Cancel
Save