]> iEval git - gruntmaster-data.git/commitdiff
Do not include the started key in process_ct
authorMarius Gavrilescu <marius@ieval.ro>
Mon, 26 Jan 2015 22:14:52 +0000 (00:14 +0200)
committerMarius Gavrilescu <marius@ieval.ro>
Mon, 26 Jan 2015 22:14:52 +0000 (00:14 +0200)
lib/Gruntmaster/Data.pm

index 6cdf3f52104c6c11a2ecd960c6a42efe7111128a..296549b8a3d6c4ce61981cff8dba3a0e7d7c498d 100644 (file)
@@ -122,7 +122,7 @@ sub contest_list {
        for ($rs->all) {
                my $state = $_->is_pending ? 'pending' : $_->is_running ? 'running' : 'finished';
                $params{$state} //= [];
-               push @{$params{$state}}, { $_->get_columns, started => !$_->is_pending, owner_name => $_->owner->name };
+               push @{$params{$state}}, { $_->get_columns, owner_name => $_->owner->name };
        }
        \%params
 }
This page took 0.031664 seconds and 4 git commands to generate.