mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-02 06:50:02 -05: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