mirror of
https://github.com/Lidarr/Lidarr
synced 2026-04-14 16:51:41 +02: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 @@ private PagingResource<QueueResource> GetQueue(PagingResource<QueueResource> pag
|
|||
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…
Reference in a new issue