浏览代码

incorporate ParentIndexNumber into audio sort order

Luke Pulverenti 12 年之前
父节点
当前提交
9553542875
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      MediaBrowser.Controller/Entities/Audio/Audio.cs

+ 1 - 0
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;
         }