mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-26 22:46:37 -04:00
Fixed: Sort authors by lastname, firstname
This commit is contained in:
@@ -276,7 +276,6 @@ namespace NzbDrone.Core.MetadataSource.SkyHook
|
||||
{
|
||||
Metadata = metadata,
|
||||
CleanName = Parser.Parser.CleanAuthorName(metadata.Name),
|
||||
SortName = Parser.Parser.NormalizeTitle(metadata.Name),
|
||||
Books = books,
|
||||
Series = series
|
||||
};
|
||||
@@ -316,6 +315,8 @@ namespace NzbDrone.Core.MetadataSource.SkyHook
|
||||
Ratings = new Ratings { Votes = resource.RatingsCount, Value = (decimal)resource.AverageRating }
|
||||
};
|
||||
|
||||
author.SortName = author.Name.ToSortName().ToLower();
|
||||
|
||||
if (resource.ImageUrl.IsNotNullOrWhiteSpace())
|
||||
{
|
||||
author.Images.Add(new MediaCover.MediaCover
|
||||
|
||||
Reference in New Issue
Block a user