mirror of https://github.com/lidarr/Lidarr
Fixed: Queue fails when sorting by Album columns with null Albums
Fixes #771
This commit is contained in:
parent
a4a3bc5127
commit
ea3534b204
|
@ -144,9 +144,9 @@ namespace Lidarr.Api.V1.Queue
|
|||
case "album":
|
||||
return q => q.Album;
|
||||
case "album.title":
|
||||
return q => q.Album.Title;
|
||||
return q => q.Album?.Title;
|
||||
case "album.releaseDate":
|
||||
return q => q.Album.ReleaseDate;
|
||||
return q => q.Album?.ReleaseDate;
|
||||
case "language":
|
||||
return q => q.Language;
|
||||
case "quality":
|
||||
|
|
Loading…
Reference in New Issue