Patrick Barron 5 лет назад
Родитель
Сommit
2831062a3f
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      Jellyfin.Data/Entities/DisplayPreferences.cs

+ 2 - 0
Jellyfin.Data/Entities/DisplayPreferences.cs

@@ -120,6 +120,8 @@ namespace Jellyfin.Data.Entities
         /// <summary>
         /// Gets or sets what the view should be sorted by.
         /// </summary>
+        [MaxLength(64)]
+        [StringLength(64)]
         public string SortBy { get; set; }
 
         /// <summary>