Fixed: Ambiguous Id in Movies SQL call

This commit is contained in:
Qstick
2019-07-06 17:34:47 -04:00
parent 2d15b8b78a
commit a3f72bd4a0

View File

@@ -83,7 +83,7 @@ namespace NzbDrone.Core.Datastore
{
var idList = ids.ToList();
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())
{