mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-20 20:50:36 +02:00
incorporate ParentIndexNumber into audio sort order
This commit is contained in:
parent
3960dda3bd
commit
9553542875
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue