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;
|
return q => q.Title;
|
||||||
case "episode":
|
case "episode":
|
||||||
return q => q.Episode;
|
return q => q.Episode;
|
||||||
|
case "episode.airDateUtc":
|
||||||
case "episodes.airDateUtc":
|
case "episodes.airDateUtc":
|
||||||
return q => q.Episode?.AirDateUtc ?? DateTime.MinValue;
|
return q => q.Episode?.AirDateUtc ?? DateTime.MinValue;
|
||||||
|
case "episode.title":
|
||||||
case "episodes.title":
|
case "episodes.title":
|
||||||
return q => q.Episode?.Title ?? string.Empty;
|
return q => q.Episode?.Title ?? string.Empty;
|
||||||
|
case "language":
|
||||||
case "languages":
|
case "languages":
|
||||||
return q => q.Languages;
|
return q => q.Languages;
|
||||||
case "quality":
|
case "quality":
|
||||||
|
|
Loading…
Reference in New Issue