Fixed: Sort authors by lastname, firstname

This commit is contained in:
ta264
2021-05-13 21:31:46 +01:00
parent 62221c2a7f
commit 96db74494a
26 changed files with 279 additions and 27 deletions
+2 -2
View File
@@ -72,7 +72,7 @@ namespace Readarr.Api.V1.Author
AuthorName = model.Name,
//AlternateTitles
SortName = model.SortName,
SortName = model.Metadata.Value.SortName,
Status = model.Metadata.Value.Status,
Overview = model.Metadata.Value.Overview,
@@ -119,6 +119,7 @@ namespace Readarr.Api.V1.Author
ForeignAuthorId = resource.ForeignAuthorId,
TitleSlug = resource.TitleSlug,
Name = resource.AuthorName,
SortName = resource.SortName,
Status = resource.Status,
Overview = resource.Overview,
Links = resource.Links,
@@ -128,7 +129,6 @@ namespace Readarr.Api.V1.Author
},
//AlternateTitles
SortName = resource.SortName,
Path = resource.Path,
QualityProfileId = resource.QualityProfileId,
MetadataProfileId = resource.MetadataProfileId,