mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-22 22:14:44 -04:00
Fixed: Error getting search results when there is only one result
This commit is contained in:
@@ -358,6 +358,8 @@ namespace NzbDrone.Core.MetadataSource.BookInfo
|
||||
{
|
||||
var trimmed = new Book();
|
||||
trimmed.UseMetadataFrom(book);
|
||||
trimmed.Author.Value.Metadata = book.AuthorMetadata.Value;
|
||||
trimmed.AuthorMetadata = book.AuthorMetadata.Value;
|
||||
trimmed.SeriesLinks = book.SeriesLinks;
|
||||
var edition = book.Editions.Value.SingleOrDefault(e => e.ForeignEditionId == id.ToString());
|
||||
if (edition == null)
|
||||
|
||||
Reference in New Issue
Block a user