mirror of
https://github.com/Readarr/Readarr
synced 2025-12-18 22:33:50 +01:00
Fixed: Set correct titleslug for a book
This commit is contained in:
parent
c1a846dd2b
commit
2a05112d7d
1 changed files with 1 additions and 1 deletions
|
|
@ -604,7 +604,7 @@ private static Book MapBook(BookResource resource)
|
|||
{
|
||||
ForeignBookId = resource.Work.Id.ToString(),
|
||||
Title = (resource.Work.OriginalTitle ?? resource.TitleWithoutSeries).CleanSpaces(),
|
||||
TitleSlug = resource.Id.ToString(),
|
||||
TitleSlug = resource.Work.Id.ToString(),
|
||||
ReleaseDate = resource.Work.OriginalPublicationDate ?? resource.PublicationDate,
|
||||
Ratings = new Ratings { Votes = resource.Work.RatingsCount, Value = resource.Work.AverageRating },
|
||||
AnyEditionOk = true
|
||||
|
|
|
|||
Loading…
Reference in a new issue