From 94edb5b9f98cf3b06144255eccc988712332f0a8 Mon Sep 17 00:00:00 2001 From: Bond-009 Date: Fri, 6 Dec 2019 11:58:45 +0100 Subject: [PATCH] Add else --- Emby.Dlna/ContentDirectory/ControlHandler.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Emby.Dlna/ContentDirectory/ControlHandler.cs b/Emby.Dlna/ContentDirectory/ControlHandler.cs index 438ca39ea..4f74bb222 100644 --- a/Emby.Dlna/ContentDirectory/ControlHandler.cs +++ b/Emby.Dlna/ContentDirectory/ControlHandler.cs @@ -1278,6 +1278,7 @@ namespace Emby.Dlna.ContentDirectory { query.OrderBy = Array.Empty<(string, SortOrder)>(); } + else { query.OrderBy = new[] { (ItemSortBy.SortName, sort.SortOrder) }; }