New: Optionally display authors as LastName, FirstName in index

Fixes #1062
This commit is contained in:
ta264
2021-07-21 21:50:17 +01:00
parent 332997aefe
commit 7f8dc3d2b4
28 changed files with 193 additions and 54 deletions
@@ -36,7 +36,7 @@ namespace NzbDrone.Common.Test.ExtensionTests.StringExtensionTests
[TestCase("John [x]von Neumann (III)", "von Neumann, John")]
public void should_get_sort_name(string input, string expected)
{
input.ToSortName().Should().Be(expected);
input.ToLastFirst().Should().Be(expected);
}
}
}