mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-20 07:45:26 +03:00
Fixed Duplicate returns on grouping
Fixed UserDataKey not stored
This commit is contained in:
@@ -1825,7 +1825,10 @@ namespace MediaBrowser.Controller.Entities
|
||||
{
|
||||
ArgumentNullException.ThrowIfNull(user);
|
||||
|
||||
var data = UserDataManager.GetUserData(user, this);
|
||||
var data = UserDataManager.GetUserData(user, this) ?? new UserItemData()
|
||||
{
|
||||
Key = GetUserDataKeys().First(),
|
||||
};
|
||||
|
||||
if (datePlayed.HasValue)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user