1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-01 03:55:44 +00:00

Changed database column for wrestlers seed to bracket_line

This commit is contained in:
2018-09-17 14:29:00 +00:00
parent 1cfe818d14
commit 436e716cd4
11 changed files with 149 additions and 144 deletions

View File

@@ -61,7 +61,7 @@ class Weight < ActiveRecord::Base
def poolSeedOrder(pool)
# wrestlersForPool(pool).sort_by{|w| [w.original_seed ? 0 : 1, w.original_seed || 0]}
return wrestlersForPool(pool).sort_by{|w|w.seed}
return wrestlersForPool(pool).sort_by{|w|w.bracket_line}
end