From fa123398b263283d3f770c81b3324e1b8602b490 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Sat, 18 Nov 2023 09:33:58 -0500 Subject: Score lists now show up to 100 scores --- app/views/wittle/puzzles/show.html.haml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app') diff --git a/app/views/wittle/puzzles/show.html.haml b/app/views/wittle/puzzles/show.html.haml index 5eb34a4..6825f22 100644 --- a/app/views/wittle/puzzles/show.html.haml +++ b/app/views/wittle/puzzles/show.html.haml @@ -25,7 +25,7 @@ #by-time %h2 Fastest Solves %table - - @puzzle.scores.where("seconds_taken IS NOT NULL").order(seconds_taken: :asc).limit(20).each_with_index do |score, i| + - @puzzle.scores.where("seconds_taken IS NOT NULL").order(seconds_taken: :asc).limit(100).each_with_index do |score, i| %tr %td #{(i + 1)}. %td= score.name @@ -33,7 +33,7 @@ #by-when %h2 Completion Order %table - - @puzzle.scores.order(created_at: :asc).limit(20).each_with_index do |score, i| + - @puzzle.scores.order(created_at: :asc).limit(100).each_with_index do |score, i| %tr %td #{(i + 1)}. %td= score.name -- cgit 1.4.1