diff --git a/web/app/models/UOJGroup.php b/web/app/models/UOJGroup.php index 3a7ba28..80f6ad1 100644 --- a/web/app/models/UOJGroup.php +++ b/web/app/models/UOJGroup.php @@ -97,6 +97,7 @@ class UOJGroup { ], "group by problem_id", "order by id desc", + DB::limit($limit), ])); }