mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-23 23:20:51 +01:00
Backport pull request #13618 from jellyfin/release-10.10.z
Include Role and SortOrder in MergePeople to fix "Search for missing metadata"
Original-merge: fcdef875a2
Merged-by: Bond-009 <bond.009@outlook.com>
Backported-by: Bond_009 <bond.009@outlook.com>
This commit is contained in:
parent
d116f989a8
commit
aad7506e85
1 changed files with 10 additions and 0 deletions
|
|
@ -1162,6 +1162,16 @@ namespace MediaBrowser.Providers.Manager
|
|||
{
|
||||
person.ImageUrl = personInSource.ImageUrl;
|
||||
}
|
||||
|
||||
if (!string.IsNullOrWhiteSpace(personInSource.Role) && string.IsNullOrWhiteSpace(person.Role))
|
||||
{
|
||||
person.Role = personInSource.Role;
|
||||
}
|
||||
|
||||
if (personInSource.SortOrder.HasValue && !person.SortOrder.HasValue)
|
||||
{
|
||||
person.SortOrder = personInSource.SortOrder;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue