about summary refs log tree commit diff stats
path: root/app
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2023-11-24 13:04:02 -0500
committerStar Rauchenberger <fefferburbia@gmail.com>2023-11-24 13:04:02 -0500
commit01dac5c37a8290b2f626175b910285390e2fe3a2 (patch)
tree6d63476970dc98d30445a0c08c7d3be61445c4bd /app
parentb21f37b598bdf2bb901423f11b7708d81f99966b (diff)
downloadwittle-01dac5c37a8290b2f626175b910285390e2fe3a2.tar.gz
wittle-01dac5c37a8290b2f626175b910285390e2fe3a2.tar.bz2
wittle-01dac5c37a8290b2f626175b910285390e2fe3a2.zip
ensure speed ties are broken by completion order
Diffstat (limited to 'app')
-rw-r--r--app/views/wittle/puzzles/show.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/wittle/puzzles/show.html.haml b/app/views/wittle/puzzles/show.html.haml index 6825f22..47db8f2 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(100).each_with_index do |score, i| 28 - @puzzle.scores.where("seconds_taken IS NOT NULL").order(seconds_taken: :asc, created_at: :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