mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-26 18:54:48 +03:00
Round CommunityRating to nearest tenths
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user