projects
/
gruntmaster-data.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
0803d69
)
Fix (negate) solved in problem_status
author
Marius Gavrilescu
<marius@ieval.ro>
Fri, 12 Dec 2014 12:28:47 +0000
(14:28 +0200)
committer
Marius Gavrilescu
<marius@ieval.ro>
Fri, 12 Dec 2014 12:28:47 +0000
(14:28 +0200)
lib/Gruntmaster/Data.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Gruntmaster/Data.pm
b/lib/Gruntmaster/Data.pm
index facc186af800afe1ca7822a59699a550db60b410..5318cbcfcab23f5bc7a3a1fe865492a5e245db97 100644
(file)
--- a/
lib/Gruntmaster/Data.pm
+++ b/
lib/Gruntmaster/Data.pm
@@
-199,7
+199,7
@@
sub update_status {
my @jobs = $self->jobs->search(undef, {cache => 1})->all;
my %hash;
- $hash{$_->get_column('problem'), $_->get_column('owner')} = [$_->id, $_->result ?
1 : 0
] for @jobs;
+ $hash{$_->get_column('problem'), $_->get_column('owner')} = [$_->id, $_->result ?
0 : 1
] for @jobs;
my @problem_statuses = map { [split ($;), @{$hash{$_}} ] } keys %hash;
my @contest_statuses = map {
This page took
0.011135 seconds
and
4
git commands to generate.