Fixed Movie RecentlyAdded

pull/12798/head
JPVenson 3 months ago
parent b830c42fca
commit 96d9bb83a3

@ -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)

Loading…
Cancel
Save