Attempt to fix standings
authorMarius Gavrilescu <marius@ieval.ro>
Thu, 27 Mar 2014 14:22:36 +0000 (16:22 +0200)
committerMarius Gavrilescu <marius@ieval.ro>
Thu, 27 Mar 2014 14:22:36 +0000 (16:22 +0200)
lib/Gruntmaster/Page/St.pm

index 547eaba544297c8ea7d49947558e9c90ee8a2b5d..f1a42c11fb278ac952a73b232d5724a775cb1d55 100644 (file)
@@ -28,7 +28,7 @@ sub _generate{
 
        my @problems = map { $_->problem } db($env)->contest_problems->search({contest => $ct && $ct->id}, {qw/join problem order_by problem.level/});
        my (%scores, %tries);
-       for my $job (db($env)->jobs->search({contest => $ct && $ct->id})) {
+       for my $job (db($env)->jobs->search({contest => $ct && $ct->id}, {order_by => 'id'})) {
 
                if ($ct) {
                        my $time = $job->date - $ct->start;
This page took 0.010519 seconds and 4 git commands to generate.