mirror of
https://github.com/Readarr/Readarr
synced 2026-05-08 12:42:51 +02: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(),
|
ForeignBookId = resource.Work.Id.ToString(),
|
||||||
Title = (resource.Work.OriginalTitle ?? resource.TitleWithoutSeries).CleanSpaces(),
|
Title = (resource.Work.OriginalTitle ?? resource.TitleWithoutSeries).CleanSpaces(),
|
||||||
TitleSlug = resource.Id.ToString(),
|
TitleSlug = resource.Work.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 },
|
||||||
AnyEditionOk = true
|
AnyEditionOk = true
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue