Fixed: Ambiguous Id in Movies SQL call

pull/2/head
Qstick 6 years ago
parent 2d15b8b78a
commit a3f72bd4a0

@ -83,7 +83,7 @@ namespace NzbDrone.Core.Datastore
{ {
var idList = ids.ToList(); var idList = ids.ToList();
var query = string.Format("Id IN ({0})", string.Join(",", idList)); var query = string.Format("Id IN ({0})", string.Join(",", idList));
var result = Query.Where(query).ToList(); var result = Query.Where(m => m.Id.In(idList)).ToList();
if (result.Count != idList.Count()) if (result.Count != idList.Count())
{ {

Loading…
Cancel
Save