mirror of
https://github.com/Radarr/Radarr
synced 2025-01-04 06:23:32 +00:00
Fixed: Ambiguous Id in Movies SQL call
This commit is contained in:
parent
2d15b8b78a
commit
a3f72bd4a0
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ public IEnumerable<TModel> Get(IEnumerable<int> ids)
|
|||
{
|
||||
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())
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue