mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Preserve null sortOrder during migration
This commit is contained in:
parent
7abb94d8a2
commit
cf1f251f2a
@ -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()
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user