From 17a9b0f7b0dba58cfb26e1b36d21f8e73a604560 Mon Sep 17 00:00:00 2001 From: Bogdan Date: Thu, 15 Aug 2024 15:41:49 +0300 Subject: [PATCH] Exclude movies without year in the missing page They should not have any release dates, so not quite missing in any case. --- src/NzbDrone.Core/Movies/MovieRepository.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/NzbDrone.Core/Movies/MovieRepository.cs b/src/NzbDrone.Core/Movies/MovieRepository.cs index e8c6b4740..859a502db 100644 --- a/src/NzbDrone.Core/Movies/MovieRepository.cs +++ b/src/NzbDrone.Core/Movies/MovieRepository.cs @@ -250,6 +250,7 @@ namespace NzbDrone.Core.Movies public SqlBuilder MoviesWithoutFilesBuilder() => Builder() .Where(x => x.MovieFileId == 0) + .Where(m => m.MovieMetadata.Value.Year > 0) .GroupBy(m => m.Id) .GroupBy(m => m.Id);