From 5e0884a4201af66aa28e4865e3b7a53054474668 Mon Sep 17 00:00:00 2001 From: sanchezvem Date: Sun, 12 Apr 2026 14:29:28 +0100 Subject: [PATCH] Fixed overall ranking at 20 persons --- BeReadyBackend/Specifications/Users/GetUsersByScoreSpec.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/BeReadyBackend/Specifications/Users/GetUsersByScoreSpec.cs b/BeReadyBackend/Specifications/Users/GetUsersByScoreSpec.cs index 48b4d93..fa6e6c7 100644 --- a/BeReadyBackend/Specifications/Users/GetUsersByScoreSpec.cs +++ b/BeReadyBackend/Specifications/Users/GetUsersByScoreSpec.cs @@ -8,6 +8,7 @@ public class GetUsersByScoreSpec : Specification public GetUsersByScoreSpec() { Query - .OrderByDescending(x => x.Score); + .OrderByDescending(x => x.Score) + .Take(20); } } \ No newline at end of file