Exclude movies without year in the missing page

They should not have any release dates, so not quite missing in any case.
pull/9810/merge
Bogdan 3 months ago
parent 62bdb66d0f
commit 17a9b0f7b0

@ -250,6 +250,7 @@ namespace NzbDrone.Core.Movies
public SqlBuilder MoviesWithoutFilesBuilder() => Builder() public SqlBuilder MoviesWithoutFilesBuilder() => Builder()
.Where<Movie>(x => x.MovieFileId == 0) .Where<Movie>(x => x.MovieFileId == 0)
.Where<Movie>(m => m.MovieMetadata.Value.Year > 0)
.GroupBy<Movie>(m => m.Id) .GroupBy<Movie>(m => m.Id)
.GroupBy<MovieMetadata>(m => m.Id); .GroupBy<MovieMetadata>(m => m.Id);

Loading…
Cancel
Save