aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Sorting/IsPlayedComparer.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Emby.Server.Implementations/Sorting/IsPlayedComparer.cs')
-rw-r--r--Emby.Server.Implementations/Sorting/IsPlayedComparer.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/Emby.Server.Implementations/Sorting/IsPlayedComparer.cs b/Emby.Server.Implementations/Sorting/IsPlayedComparer.cs
index 6f206c877..9faa02f1f 100644
--- a/Emby.Server.Implementations/Sorting/IsPlayedComparer.cs
+++ b/Emby.Server.Implementations/Sorting/IsPlayedComparer.cs
@@ -7,7 +7,6 @@ using Jellyfin.Database.Implementations.Entities;
using MediaBrowser.Controller.Entities;
using MediaBrowser.Controller.Library;
using MediaBrowser.Controller.Sorting;
-using MediaBrowser.Model.Querying;
namespace Emby.Server.Implementations.Sorting
{
@@ -55,7 +54,7 @@ namespace Emby.Server.Implementations.Sorting
/// <returns>DateTime.</returns>
private int GetValue(BaseItem x)
{
- return x.IsPlayed(User) ? 0 : 1;
+ return x.IsPlayed(User, userItemData: null) ? 0 : 1;
}
}
}