Blacklist uses seriesId for index

pull/2/head
Mark McDowall 11 years ago
parent 3e5117cce2
commit ab3dbfc240

@ -21,7 +21,9 @@ namespace NzbDrone.Core.Blacklisting
public bool Blacklisted(int seriesId, string sourceTitle) 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) public List<Blacklist> BlacklistedBySeries(int seriesId)

Loading…
Cancel
Save