From a3f72bd4a093e2a540d29ee46449c014c95dcfad Mon Sep 17 00:00:00 2001 From: Qstick Date: Sat, 6 Jul 2019 17:34:47 -0400 Subject: [PATCH] Fixed: Ambiguous Id in Movies SQL call --- src/NzbDrone.Core/Datastore/BasicRepository.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NzbDrone.Core/Datastore/BasicRepository.cs b/src/NzbDrone.Core/Datastore/BasicRepository.cs index 85b46fd64..e698795d2 100644 --- a/src/NzbDrone.Core/Datastore/BasicRepository.cs +++ b/src/NzbDrone.Core/Datastore/BasicRepository.cs @@ -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()) {