aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Sorting/SeriesSortNameComparer.cs
diff options
context:
space:
mode:
authorErwin de Haan <EraYaN@users.noreply.github.com>2019-01-13 23:28:05 +0100
committerErwin de Haan <EraYaN@users.noreply.github.com>2019-01-13 23:28:05 +0100
commitae0732136fe72e5e3c26517e9e350178bf2e9b59 (patch)
treecdfc9cd6ce97ceca0b2d8d3023d9815f80357dd5 /Emby.Server.Implementations/Sorting/SeriesSortNameComparer.cs
parentd7b7be395b76c7fcc49d3baffeb59d51a9b36378 (diff)
parentf8dd182e422db49d98cc090f4e205cc46517f610 (diff)
Merge remote-tracking branch 'upstream/dev' into build-system-consolidation
Diffstat (limited to 'Emby.Server.Implementations/Sorting/SeriesSortNameComparer.cs')
-rw-r--r--Emby.Server.Implementations/Sorting/SeriesSortNameComparer.cs9
1 files changed, 3 insertions, 6 deletions
diff --git a/Emby.Server.Implementations/Sorting/SeriesSortNameComparer.cs b/Emby.Server.Implementations/Sorting/SeriesSortNameComparer.cs
index b441a29c1..1bbe30b95 100644
--- a/Emby.Server.Implementations/Sorting/SeriesSortNameComparer.cs
+++ b/Emby.Server.Implementations/Sorting/SeriesSortNameComparer.cs
@@ -1,4 +1,4 @@
-using MediaBrowser.Controller.Entities;
+using MediaBrowser.Controller.Entities;
using MediaBrowser.Controller.Sorting;
using MediaBrowser.Model.Querying;
using System;
@@ -18,7 +18,7 @@ namespace Emby.Server.Implementations.Sorting
return string.Compare(GetValue(x), GetValue(y), StringComparison.CurrentCultureIgnoreCase);
}
- private string GetValue(BaseItem item)
+ private static string GetValue(BaseItem item)
{
var hasSeries = item as IHasSeries;
@@ -29,9 +29,6 @@ namespace Emby.Server.Implementations.Sorting
/// Gets the name.
/// </summary>
/// <value>The name.</value>
- public string Name
- {
- get { return ItemSortBy.SeriesSortName; }
- }
+ public string Name => ItemSortBy.SeriesSortName;
}
}