The Free Software Media System - Server Backend & API
Add max length for SortBy
Patrick Barron2831062a3f1e
diff --git a/Jellyfin.Data/Entities/DisplayPreferences.cs b/Jellyfin.Data/Entities/DisplayPreferences.csindex 928407e7a0..6bc6b7de1e 100644--- a/Jellyfin.Data/Entities/DisplayPreferences.cs+++ b/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>