Skip to content

Commit

Permalink
Fixed: Fall back to sorting by release title if series is not matched
Browse files Browse the repository at this point in the history
  • Loading branch information
markus101 committed Sep 25, 2022
1 parent 80dd4ce commit bd937b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Sonarr.Api.V3/Queue/QueueController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ private PagingSpec<NzbDrone.Core.Queue.Queue> GetQueue(PagingSpec<NzbDrone.Core.
case "status":
return q => q.Status;
case "series.sortTitle":
return q => q.Series?.SortTitle ?? string.Empty;
return q => q.Series?.SortTitle ?? q.Title;
case "title":
return q => q.Title;
case "episode":
Expand Down

0 comments on commit bd937b9

Please sign in to comment.