mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
Fixed: Sorting of queue by artist title when unknown items are included
Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
This commit is contained in:
parent
6657777153
commit
d61a6852b2
1 changed files with 3 additions and 3 deletions
|
@ -119,15 +119,15 @@ namespace Lidarr.Api.V1.Queue
|
|||
case "status":
|
||||
return q => q.Status;
|
||||
case "artists.sortName":
|
||||
return q => q.Artist?.SortName;
|
||||
return q => q.Artist?.SortName ?? string.Empty;
|
||||
case "title":
|
||||
return q => q.Title;
|
||||
case "album":
|
||||
return q => q.Album;
|
||||
case "albums.title":
|
||||
return q => q.Album?.Title;
|
||||
return q => q.Album?.Title ?? string.Empty;
|
||||
case "album.releaseDate":
|
||||
return q => q.Album?.ReleaseDate;
|
||||
return q => q.Album?.ReleaseDate ?? DateTime.MinValue;
|
||||
case "quality":
|
||||
return q => q.Quality;
|
||||
case "progress":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue