mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-09-01 03:30:06 +00:00
improve embedding of specials
This commit is contained in:
parent
16203c52b4
commit
e3cf3d73f1
3 changed files with 3 additions and 3 deletions
|
|
@ -100,7 +100,7 @@ namespace MediaBrowser.Server.Implementations.Sorting
|
|||
{
|
||||
// First sort by season number
|
||||
// Since there are three sort orders, pad with 9 digits (3 for each, figure 1000 episode buffer should be enough)
|
||||
var val = (item.AirsBeforeSeasonNumber ?? item.AirsAfterSeasonNumber ?? 0) * 1000000000;
|
||||
var val = (item.AirsAfterSeasonNumber ?? item.AirsBeforeSeasonNumber ?? 0) * 1000000000;
|
||||
|
||||
// Second sort order is if it airs after the season
|
||||
if (item.AirsAfterSeasonNumber.HasValue)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue