mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
parent
80fe567e51
commit
eb5a95cfa6
2 changed files with 2 additions and 0 deletions
|
@ -20,6 +20,7 @@ namespace Lidarr.Http.REST
|
|||
// See src/Lidarr.Api.V1/Queue/QueueModule.cs
|
||||
private static readonly HashSet<string> VALID_SORT_KEYS = new HashSet<string>(StringComparer.OrdinalIgnoreCase)
|
||||
{
|
||||
"artists.sortname", //Workaround artists table properties not being added on isValidSortKey call
|
||||
"timeleft",
|
||||
"estimatedCompletionTime",
|
||||
"protocol",
|
||||
|
|
|
@ -17,6 +17,7 @@ namespace NzbDrone.Core.Test.Datastore
|
|||
TableMapping.Mapper.IsValidSortKey(sortKey).Should().BeFalse();
|
||||
}
|
||||
|
||||
//[TestCase("artists.sortName")] TODO: Figure out why Artists table properties don't get mapped
|
||||
[TestCase("Id")]
|
||||
[TestCase("id")]
|
||||
[TestCase("commands.id")]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue