mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-16 02:02:55 -07:00
Fixed #2860 When a future series is unknown it should appear as available when we have the other seasons
This commit is contained in:
parent
3592781e94
commit
b74a4d29c8
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ namespace Ombi.Core.Rule.Rules.Search
|
||||||
if (!airedButNotAvailable)
|
if (!airedButNotAvailable)
|
||||||
{
|
{
|
||||||
var unairedEpisodes = search.SeasonRequests.Any(x =>
|
var unairedEpisodes = search.SeasonRequests.Any(x =>
|
||||||
x.Episodes.Any(c => !c.Available && c.AirDate > DateTime.Now.Date && c.AirDate != DateTime.MinValue));
|
x.Episodes.Any(c => !c.Available && c.AirDate > DateTime.Now.Date || c.AirDate != DateTime.MinValue));
|
||||||
if (unairedEpisodes)
|
if (unairedEpisodes)
|
||||||
{
|
{
|
||||||
search.FullyAvailable = true;
|
search.FullyAvailable = true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue