From 9553542875d45ac17087e55e0e80d094622ce895 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Mon, 22 Apr 2013 16:17:08 -0400 Subject: [PATCH] incorporate ParentIndexNumber into audio sort order --- MediaBrowser.Controller/Entities/Audio/Audio.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/MediaBrowser.Controller/Entities/Audio/Audio.cs b/MediaBrowser.Controller/Entities/Audio/Audio.cs index 01bdd84ac..16e4e0e59 100644 --- a/MediaBrowser.Controller/Entities/Audio/Audio.cs +++ b/MediaBrowser.Controller/Entities/Audio/Audio.cs @@ -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; }