Update RequestExtensions.cs

fix for sortname issue https://github.com/Lidarr/Lidarr/issues/3392
This commit is contained in:
shapechecker 2023-12-20 12:24:33 -05:00 committed by GitHub
commit bef205a8e5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,7 +12,7 @@ namespace Lidarr.Http.Extensions
// See src/Lidarr.Api.V1/Queue/QueueModule.cs
private static readonly HashSet<string> VALID_SORT_KEYS = new HashSet<string>(StringComparer.OrdinalIgnoreCase)
{
"artists.sortname", // Workaround authors table properties not being added on isValidSortKey call
"artists.sortName", // Workaround authors table properties not being added on isValidSortKey call
"timeleft",
"estimatedCompletionTime",
"protocol",