mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-02 22:08:27 +01:00
Fix warnings in Sorting
This commit is contained in:
@@ -9,6 +9,12 @@ namespace Emby.Server.Implementations.Sorting
|
||||
/// </summary>
|
||||
public class CriticRatingComparer : IBaseItemComparer
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the name.
|
||||
/// </summary>
|
||||
/// <value>The name.</value>
|
||||
public string Name => ItemSortBy.CriticRating;
|
||||
|
||||
/// <summary>
|
||||
/// Compares the specified x.
|
||||
/// </summary>
|
||||
@@ -24,11 +30,5 @@ namespace Emby.Server.Implementations.Sorting
|
||||
{
|
||||
return x?.CriticRating ?? 0;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the name.
|
||||
/// </summary>
|
||||
/// <value>The name.</value>
|
||||
public string Name => ItemSortBy.CriticRating;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user