Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Readarr/commit/8c3dd3730adbe79583424bdb2d08887bb2582feb You should set ROOT_URL correctly, otherwise the web may not work correctly.

Fixed: Determine book author as primary author of most popular edition

pull/1448/head
ta264 3 years ago
parent 02927dc37d
commit 8c3dd3730a

@ -324,7 +324,7 @@ namespace NzbDrone.Core.MetadataSource.BookInfo
private int GetAuthorId(WorkResource b)
{
return b.Books.First().Contributors.FirstOrDefault()?.ForeignId ?? 0;
return b.Books.OrderByDescending(x => x.RatingCount * x.AverageRating).First().Contributors.FirstOrDefault()?.ForeignId ?? 0;
}
}
}

Loading…
Cancel
Save