diff --git a/app/DTO/TorrentSearchFiltersDTO.php b/app/DTO/TorrentSearchFiltersDTO.php index e8c20e1ea9..d311f519a6 100644 --- a/app/DTO/TorrentSearchFiltersDTO.php +++ b/app/DTO/TorrentSearchFiltersDTO.php @@ -536,10 +536,12 @@ final public function toMeilisearchFilter(): array if ($this->tmdbId !== null) { if ($this->tmdbId === 0) { $filters[] = [ - 'tmdb_movie_id IS NULL AND tmdb_tv_id IS NOT NULL', - 'tmdb_tv_id IS NULL AND tmdb_movie_id IS NOT NULL', - 'tmdb_movie_id = 0 AND tmdb_tv_id != 0', - 'tmdb_tv_id = 0 AND tmdb_movie_id != 0', + 'tmdb_movie_id IS NULL', + 'tmdb_movie_id = 0', + ]; + $filters[] = [ + 'tmdb_tv_id IS NULL', + 'tmdb_tv_id = 0', ]; } else { $filters[] = [