1
0
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:
Mark McDowall 2022-12-07 19:03:43 -08:00
parent 1b90fbcf7d
commit 7675b4bc3b

View File

@ -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":