Merge pull request #13616 from Lampan-git/fix_people_role

Include PeopleBaseItemMap in GetPeople to inlcude Role and SortOrder
This commit is contained in:
Niels van Velzen
2025-03-24 15:29:28 +01:00
committed by GitHub
2 changed files with 10 additions and 3 deletions

View File

@@ -242,9 +242,7 @@ public class MigrateLibraryDb : IMigrationRoutine
{
}
if (reader.TryGetInt32(4, out var sortOrder))
{
}
int? sortOrder = reader.IsDBNull(4) ? null : reader.GetInt32(4);
personCache.Items.Add(new PeopleBaseItemMap()
{