mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Round CommunityRating to nearest tenths
This commit is contained in:
parent
a7e5f43a8a
commit
12c14ddb24
@ -50,7 +50,7 @@ namespace MediaBrowser.Model.Extensions
|
||||
|
||||
return 0;
|
||||
})
|
||||
.ThenByDescending(i => i.CommunityRating ?? 0)
|
||||
.ThenByDescending(i => Math.Round(i.CommunityRating ?? 0, 1) )
|
||||
.ThenByDescending(i => i.VoteCount ?? 0);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user