From: Marius Gavrilescu Date: Mon, 26 Jan 2015 22:14:52 +0000 (+0200) Subject: Do not include the started key in process_ct X-Git-Tag: 5999.000_014~94 X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=b3cf23ae6747f223289f1edaf80b61b9dc595a02;p=gruntmaster-data.git Do not include the started key in process_ct --- diff --git a/lib/Gruntmaster/Data.pm b/lib/Gruntmaster/Data.pm index 6cdf3f5..296549b 100644 --- a/lib/Gruntmaster/Data.pm +++ b/lib/Gruntmaster/Data.pm @@ -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 }