incorporate ParentIndexNumber into audio sort order

pull/702/head
Luke Pulverenti 12 years ago
parent 3960dda3bd
commit 9553542875

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

Loading…
Cancel
Save