diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2023-11-18 09:33:58 -0500 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2023-11-18 09:33:58 -0500 |
commit | fa123398b263283d3f770c81b3324e1b8602b490 (patch) | |
tree | ba1a07f87e02186aaf378358e48590d436e6605e /app | |
parent | f03dd9f422b7f88f7a14f658715865a2db552b70 (diff) | |
download | wittle-fa123398b263283d3f770c81b3324e1b8602b490.tar.gz wittle-fa123398b263283d3f770c81b3324e1b8602b490.tar.bz2 wittle-fa123398b263283d3f770c81b3324e1b8602b490.zip |
Score lists now show up to 100 scores
Diffstat (limited to 'app')
-rw-r--r-- | app/views/wittle/puzzles/show.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
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 @@ | |||
25 | #by-time | 25 | #by-time |
26 | %h2 Fastest Solves | 26 | %h2 Fastest Solves |
27 | %table | 27 | %table |
28 | - @puzzle.scores.where("seconds_taken IS NOT NULL").order(seconds_taken: :asc).limit(20).each_with_index do |score, i| | 28 | - @puzzle.scores.where("seconds_taken IS NOT NULL").order(seconds_taken: :asc).limit(100).each_with_index do |score, i| |
29 | %tr | 29 | %tr |
30 | %td #{(i + 1)}. | 30 | %td #{(i + 1)}. |
31 | %td= score.name | 31 | %td= score.name |
@@ -33,7 +33,7 @@ | |||
33 | #by-when | 33 | #by-when |
34 | %h2 Completion Order | 34 | %h2 Completion Order |
35 | %table | 35 | %table |
36 | - @puzzle.scores.order(created_at: :asc).limit(20).each_with_index do |score, i| | 36 | - @puzzle.scores.order(created_at: :asc).limit(100).each_with_index do |score, i| |
37 | %tr | 37 | %tr |
38 | %td #{(i + 1)}. | 38 | %td #{(i + 1)}. |
39 | %td= score.name | 39 | %td= score.name |