From 4ec56eb697ccac7f05591670a47dade0aae3f7ee Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Sun, 12 Jun 2005 20:25:18 +0000 Subject: [PATCH] Change initial seeding from alphabetical to random. --- html/do-start-round.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/do-start-round.pl b/html/do-start-round.pl index 3684423..ff02c26 100755 --- a/html/do-start-round.pl +++ b/html/do-start-round.pl @@ -34,7 +34,7 @@ if ($num_groups == 1) { # Seed people into groups (quite preliminary for now) my $people; if ($round == 1) { - $people = ccbs::db_fetch_all($dbh, 'SELECT * FROM players WHERE player IN ( SELECT player FROM tournamentparticipation WHERE tournament=? ) ORDER BY lower(nick)', + $people = ccbs::db_fetch_all($dbh, 'SELECT * FROM players WHERE player IN ( SELECT player FROM tournamentparticipation WHERE tournament=? ) ORDER BY random()', $tournament); } else { # First of all, check that there are no null values! -- 2.39.2