mirror of https://github.com/lidarr/Lidarr
Fixed: Fall back to sorting by release title if artist is not matched
This commit is contained in:
parent
ef1e744e2f
commit
64c2fb2dee
|
@ -172,7 +172,7 @@ namespace Lidarr.Api.V1.Queue
|
||||||
case "status":
|
case "status":
|
||||||
return q => q.Status;
|
return q => q.Status;
|
||||||
case "artists.sortName":
|
case "artists.sortName":
|
||||||
return q => q.Artist?.SortName ?? string.Empty;
|
return q => q.Artist?.SortName ?? q.Title;
|
||||||
case "title":
|
case "title":
|
||||||
return q => q.Title;
|
return q => q.Title;
|
||||||
case "album":
|
case "album":
|
||||||
|
|
Loading…
Reference in New Issue