mirror of
https://github.com/Sonarr/Sonarr
synced 2025-02-25 15:33:11 +00:00
Blacklist uses seriesId for index
This commit is contained in:
parent
3e5117cce2
commit
ab3dbfc240
1 changed files with 3 additions and 1 deletions
|
@ -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 a new issue