diff --git a/src/lib/Hydra/Controller/Build.pm b/src/lib/Hydra/Controller/Build.pm index 05edea1d..442b1151 100644 --- a/src/lib/Hydra/Controller/Build.pm +++ b/src/lib/Hydra/Controller/Build.pm @@ -92,6 +92,7 @@ sub view_build : Chained('build') PathPart('') Args(0) { } # Get the first eval of which this build was a part. + ($c->stash->{nrEvals}) = $c->stash->{build}->jobsetevals->search({ hasnewbuilds => 1 })->count; ($c->stash->{eval}) = $c->stash->{build}->jobsetevals->search( { hasnewbuilds => 1}, { limit => 1, order_by => ["id"] }); diff --git a/src/root/build.tt b/src/root/build.tt index c2b8b2f8..4855234f 100644 --- a/src/root/build.tt +++ b/src/root/build.tt @@ -97,12 +97,6 @@