Add deprecated sort values to validation

Fixed #5282
This commit is contained in:
Qstick 2022-12-09 07:47:33 -06:00 committed by GitHub
parent b98881c576
commit 779f348f7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -16,6 +16,9 @@ namespace Sonarr.Http.Extensions
private static readonly HashSet<string> VALID_SORT_KEYS = new HashSet<string>(StringComparer.OrdinalIgnoreCase)
{
"series.sortname", // Workaround authors table properties not being added on isValidSortKey call
"episode.title", // Deprecated
"episode.airDateUtc", // Deprecated
"episode.language", // Deprecated
"timeleft",
"estimatedCompletionTime",
"protocol",