From 844938a92c5604dab6f4427a29a0a0c5c00038ad Mon Sep 17 00:00:00 2001 From: tidusjar Date: Fri, 24 Feb 2017 13:34:07 +0000 Subject: [PATCH] Fixed an issue where we were not always showing movies from external programs --- Ombi.UI/Modules/SearchModule.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Ombi.UI/Modules/SearchModule.cs b/Ombi.UI/Modules/SearchModule.cs index 2d4a12d49..76fc5fb62 100644 --- a/Ombi.UI/Modules/SearchModule.cs +++ b/Ombi.UI/Modules/SearchModule.cs @@ -354,7 +354,7 @@ namespace Ombi.UI.Modules viewMovie.Available = true; } } - else if (dbMovies.ContainsKey(movie.Id) && canSee) // compare to the requests db + if (dbMovies.ContainsKey(movie.Id) && canSee) // compare to the requests db { var dbm = dbMovies[movie.Id]; @@ -362,17 +362,17 @@ namespace Ombi.UI.Modules viewMovie.Approved = dbm.Approved; viewMovie.Available = dbm.Available; } - else if (cpCached.Contains(movie.Id) && canSee) // compare to the couchpotato db + if (cpCached.Contains(movie.Id) && canSee) // compare to the couchpotato db { viewMovie.Approved = true; viewMovie.Requested = true; } - else if (watcherCached.Contains(viewMovie.ImdbId) && canSee) // compare to the watcher db + if (watcherCached.Contains(viewMovie.ImdbId) && canSee) // compare to the watcher db { viewMovie.Approved = true; viewMovie.Requested = true; } - else if (radarrCached.Contains(movie.Id) && canSee) + if (radarrCached.Contains(movie.Id) && canSee) { viewMovie.Approved = true; viewMovie.Requested = true;