1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-22 07:43:01 +00:00

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

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",