aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server.Implementations/Users/DisplayPreferencesManager.cs
diff options
context:
space:
mode:
authorPatrick Barron <barronpm@gmail.com>2020-10-05 22:51:52 -0400
committerPatrick Barron <barronpm@gmail.com>2020-10-05 22:51:52 -0400
commitd4a492ef93f6b663fd4a4f7710613f06863f401f (patch)
tree9234b976f5fad5047e2ced7d86cf784f7aa4a278 /Jellyfin.Server.Implementations/Users/DisplayPreferencesManager.cs
parent4d7e7d6331243bd339464bd6010569c6c308088b (diff)
Fix activity log query.
Diffstat (limited to 'Jellyfin.Server.Implementations/Users/DisplayPreferencesManager.cs')
-rw-r--r--Jellyfin.Server.Implementations/Users/DisplayPreferencesManager.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Jellyfin.Server.Implementations/Users/DisplayPreferencesManager.cs b/Jellyfin.Server.Implementations/Users/DisplayPreferencesManager.cs
index 46f1c618f..76f943385 100644
--- a/Jellyfin.Server.Implementations/Users/DisplayPreferencesManager.cs
+++ b/Jellyfin.Server.Implementations/Users/DisplayPreferencesManager.cs
@@ -61,6 +61,7 @@ namespace Jellyfin.Server.Implementations.Users
public IList<ItemDisplayPreferences> ListItemDisplayPreferences(Guid userId, string client)
{
return _dbContext.ItemDisplayPreferences
+ .AsQueryable()
.Where(prefs => prefs.UserId == userId && prefs.ItemId != Guid.Empty && string.Equals(prefs.Client, client))
.ToList();
}