aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server.Implementations/Users/DisplayPreferencesManager.cs
diff options
context:
space:
mode:
authorAnthony Lavado <anthony@lavado.ca>2020-10-09 20:12:26 -0400
committerGitHub <noreply@github.com>2020-10-09 20:12:26 -0400
commitecabcff8f0fd9e8d9a59a91b11b2ab14a64be74a (patch)
tree45442b377575345a527dac8aeffc09b301225dee /Jellyfin.Server.Implementations/Users/DisplayPreferencesManager.cs
parentea5c78ee2111ee334920c2f52326efc7d0a8086b (diff)
parentd4a492ef93f6b663fd4a4f7710613f06863f401f (diff)
Merge pull request #4274 from barronpm/activitylog-query
Rewrite Activity Log Backend
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();
}