diff --git a/src/lib/Hydra/Controller/JobsetEval.pm b/src/lib/Hydra/Controller/JobsetEval.pm index ded2d05c..63a11dfa 100644 --- a/src/lib/Hydra/Controller/JobsetEval.pm +++ b/src/lib/Hydra/Controller/JobsetEval.pm @@ -64,9 +64,9 @@ sub view_GET { $c->stash->{otherEval} = $eval2 if defined $eval2; sub cmpBuilds { - my ($a, $b) = @_; - return $a->get_column('job') cmp $b->get_column('job') - || $a->get_column('system') cmp $b->get_column('system') + my ($left, $right) = @_; + return $left->get_column('job') cmp $right->get_column('job') + || $left->get_column('system') cmp $right->get_column('system') } my @builds = $eval->builds->search($filter, { columns => [@buildListColumns] });