mirror of
https://github.com/Sonarr/Sonarr.git
synced 2025-01-17 10:45:49 +02:00
Fixed: Long sets of required/ignored words would overflow the view in Manual Search
This commit is contained in:
parent
f90fdef50d
commit
b1a0e759ef
@ -39,7 +39,7 @@ public virtual Decision IsSatisfiedBy(RemoteEpisode subject, SearchCriteriaBase
|
||||
if (!ContainsAny(split, title))
|
||||
{
|
||||
_logger.Debug("[{0}] does not contain one of the required terms: {1}", title, r.Required);
|
||||
return Decision.Reject("Does not contain one of the required terms: {0}", r.Required);
|
||||
return Decision.Reject("Does not contain one of the required terms: {0}", r.Required.Replace(",", ", "));
|
||||
}
|
||||
}
|
||||
|
||||
@ -50,7 +50,7 @@ public virtual Decision IsSatisfiedBy(RemoteEpisode subject, SearchCriteriaBase
|
||||
if (ContainsAny(split, title))
|
||||
{
|
||||
_logger.Debug("[{0}] contains one or more ignored terms: {1}", title, r.Ignored);
|
||||
return Decision.Reject("Contains one or more ignored terms: {0}", r.Ignored);
|
||||
return Decision.Reject("Contains one or more ignored terms: {0}", r.Ignored.Replace(",", ", "));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user