aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Data/SqliteItemRepository.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2017-09-20 02:29:38 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2017-09-20 02:29:38 -0400
commit9d69352fcfe7320bb6fa4c3297fd4f993f3c8de8 (patch)
tree860579803d0b7e537a0cc9a64e694b411e7319a7 /Emby.Server.Implementations/Data/SqliteItemRepository.cs
parent467f44050198060a88538428bfb21f71ec08ad5b (diff)
fixes #2891 - New Season ... popups repeatedly
Diffstat (limited to 'Emby.Server.Implementations/Data/SqliteItemRepository.cs')
-rw-r--r--Emby.Server.Implementations/Data/SqliteItemRepository.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Data/SqliteItemRepository.cs b/Emby.Server.Implementations/Data/SqliteItemRepository.cs
index 2186982d3..89ffb0fce 100644
--- a/Emby.Server.Implementations/Data/SqliteItemRepository.cs
+++ b/Emby.Server.Implementations/Data/SqliteItemRepository.cs
@@ -4410,7 +4410,7 @@ namespace Emby.Server.Implementations.Data
index++;
}
- whereClauses.Add(string.Join(" OR ", includeIds.ToArray()));
+ whereClauses.Add("(" + string.Join(" OR ", includeIds.ToArray()) + ")");
}
if (query.ExcludeItemIds.Length > 0)
{