mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-24 09:44:47 +03:00
Fix activity log query.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user