mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-18 21:35:51 -04:00
Convert Calendar to TypeScript
(cherry picked from commit 811eb36c7b1a5124270ff93d18d16944e654de81) Co-authored-by: Mark McDowall <mark@mcdowall.ca> Closes #10764 Closes #10776 Closes #10781
This commit is contained in:
@@ -76,7 +76,11 @@ namespace Radarr.Api.V3.Calendar
|
||||
|
||||
var resources = MapToResource(results);
|
||||
|
||||
return resources.OrderBy(e => e.InCinemas).ToList();
|
||||
return resources
|
||||
.OrderBy(m => m.InCinemas)
|
||||
.ThenBy(m => m.DigitalRelease)
|
||||
.ThenBy(m => m.PhysicalRelease)
|
||||
.ToList();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user