mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-10-29 23:12:39 +01:00
Fixed: Queue failing to load if column was sorted by episode air date or title
#5257
This commit is contained in:
parent
1b90fbcf7d
commit
7675b4bc3b
@ -189,10 +189,13 @@ namespace Sonarr.Api.V3.Queue
|
||||
return q => q.Title;
|
||||
case "episode":
|
||||
return q => q.Episode;
|
||||
case "episode.airDateUtc":
|
||||
case "episodes.airDateUtc":
|
||||
return q => q.Episode?.AirDateUtc ?? DateTime.MinValue;
|
||||
case "episode.title":
|
||||
case "episodes.title":
|
||||
return q => q.Episode?.Title ?? string.Empty;
|
||||
case "language":
|
||||
case "languages":
|
||||
return q => q.Languages;
|
||||
case "quality":
|
||||
|
Loading…
Reference in New Issue
Block a user