mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-18 06:53:07 +03:00
Convert ItemSortBy to enum (#9765)
* Convert ItemSortBy to enum * Rename Unknown to Default
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using Jellyfin.Data.Enums;
|
||||
using MediaBrowser.Controller.Entities;
|
||||
using MediaBrowser.Controller.Sorting;
|
||||
using MediaBrowser.Model.Querying;
|
||||
@@ -14,7 +15,7 @@ namespace Emby.Server.Implementations.Sorting
|
||||
/// Gets the name.
|
||||
/// </summary>
|
||||
/// <value>The name.</value>
|
||||
public string Name => ItemSortBy.IndexNumber;
|
||||
public ItemSortBy Type => ItemSortBy.IndexNumber;
|
||||
|
||||
/// <summary>
|
||||
/// Compares the specified x.
|
||||
|
||||
Reference in New Issue
Block a user