Fix ArgumentNullException in TmdbExternalUrlProvider (#14130)

This commit is contained in:
theguymadmax
2025-05-19 00:35:12 +00:00
committed by GitHub
parent 8d781a0966
commit 43659f011c
2 changed files with 4 additions and 4 deletions

View File

@@ -1478,7 +1478,7 @@ public sealed class BaseItemRepository
if (maxWidth.HasValue)
{
baseQuery = baseQuery.Where(e => e.Width >= maxWidth);
baseQuery = baseQuery.Where(e => e.Width <= maxWidth);
}
if (filter.MaxHeight.HasValue)
@@ -1696,7 +1696,7 @@ public sealed class BaseItemRepository
if (filter.MinPremiereDate.HasValue)
{
baseQuery = baseQuery.Where(e => e.PremiereDate <= filter.MinPremiereDate.Value);
baseQuery = baseQuery.Where(e => e.PremiereDate >= filter.MinPremiereDate.Value);
}
if (filter.MaxPremiereDate.HasValue)