X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=html%2Fdo-start-round.pl;h=ff02c26a62a6d4b85582b52f8cce8e1ef1960afb;hb=7d2ed29ba87a062cee98a5e0423bcadb8f839c4b;hp=36844233cc019663b6f8b06cfb813345e09a6371;hpb=416d3d469d9ce4c15a860f61e24aee79da12402d;p=ccbs 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!