incorporate ParentIndexNumber into audio sort order

This commit is contained in:
Luke Pulverenti 2013-04-22 16:17:08 -04:00
parent 3960dda3bd
commit 9553542875

View File

@ -111,6 +111,7 @@ namespace MediaBrowser.Controller.Entities.Audio
protected override string CreateSortName()
{
return (ProductionYear != null ? ProductionYear.Value.ToString("000-") : "")
+ (ParentIndexNumber != null ? ParentIndexNumber.Value.ToString("0000 - ") : "")
+ (IndexNumber != null ? IndexNumber.Value.ToString("0000 - ") : "") + Name;
}