From 96d9bb83a3552251c35ac71f3636d892ec78b8ea Mon Sep 17 00:00:00 2001 From: JPVenson Date: Thu, 14 Nov 2024 18:09:04 +0000 Subject: [PATCH] Fixed Movie RecentlyAdded --- Jellyfin.Server.Implementations/Item/BaseItemRepository.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jellyfin.Server.Implementations/Item/BaseItemRepository.cs b/Jellyfin.Server.Implementations/Item/BaseItemRepository.cs index c888bf3604..5a185993d3 100644 --- a/Jellyfin.Server.Implementations/Item/BaseItemRepository.cs +++ b/Jellyfin.Server.Implementations/Item/BaseItemRepository.cs @@ -710,7 +710,7 @@ public sealed class BaseItemRepository( if (filter.IsPlayed.HasValue) { baseQuery = baseQuery - .Where(e => e.UserData!.FirstOrDefault(f => f.UserId == filter.User!.Id)!.Played == filter.IsPlayed.Value); + .Where(e => e.UserData!.FirstOrDefault(f => f.UserId == filter.User!.Id)!.Played == filter.IsPlayed.Value || e.UserData!.FirstOrDefault(f => f.UserId == filter.User!.Id) == null); } if (filter.IsResumable.HasValue)