Fixed: Sorting tables by artist/album

Fixes Sentry LIDARR-10A
Fixes Sentry LIDARR-105
Fixes Sentry LIDARR-109
This commit is contained in:
ta264 2020-08-20 22:13:25 +01:00 committed by Qstick
commit 2e1e2137a6
10 changed files with 20 additions and 20 deletions

View file

@ -118,13 +118,13 @@ namespace Lidarr.Api.V1.Queue
{
case "status":
return q => q.Status;
case "artist.sortName":
case "artists.sortName":
return q => q.Artist?.SortName;
case "title":
return q => q.Title;
case "album":
return q => q.Album;
case "album.title":
case "albums.title":
return q => q.Album?.Title;
case "album.releaseDate":
return q => q.Album?.ReleaseDate;