mirror of https://github.com/Radarr/Radarr
Blacklist uses seriesId for index
This commit is contained in:
parent
3e5117cce2
commit
ab3dbfc240
|
@ -21,7 +21,9 @@ namespace NzbDrone.Core.Blacklisting
|
|||
|
||||
public bool Blacklisted(int seriesId, string sourceTitle)
|
||||
{
|
||||
return Query.Where(e => e.SourceTitle.Contains(sourceTitle)).Any();
|
||||
return Query.Where(e => e.SeriesId == seriesId)
|
||||
.AndWhere(e => e.SourceTitle.Contains(sourceTitle))
|
||||
.Any();
|
||||
}
|
||||
|
||||
public List<Blacklist> BlacklistedBySeries(int seriesId)
|
||||
|
|
Loading…
Reference in New Issue