aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Jellyfin.Data/Entities/DisplayPreferences.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Jellyfin.Data/Entities/DisplayPreferences.cs b/Jellyfin.Data/Entities/DisplayPreferences.cs
index 928407e7a..6bc6b7de1 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>