update sortname generation

This commit is contained in:
Luke Pulverenti
2017-05-29 20:44:48 -04:00
parent 8da3a3680c
commit 3c82d8540b
5 changed files with 15 additions and 7 deletions

View File

@@ -237,7 +237,7 @@ namespace MediaBrowser.Controller.Entities.TV
/// Creates the name of the sort.
/// </summary>
/// <returns>System.String.</returns>
protected override string CreateSortName()
protected override string CreateSortNameInternal()
{
return (ParentIndexNumber != null ? ParentIndexNumber.Value.ToString("000 - ") : "")
+ (IndexNumber != null ? IndexNumber.Value.ToString("0000 - ") : "") + Name;