mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-24 01:34:45 +03:00
Preserve null sortOrder during migration
This commit is contained in:
@@ -240,9 +240,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()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user