"limit" -> "rows"
This commit is contained in:
parent
7685596aa8
commit
e69c7ac360
|
@ -50,7 +50,7 @@ sub jobset_GET {
|
||||||
|
|
||||||
$c->stash->{evals} = getEvals($self, $c, scalar $c->stash->{jobset}->jobsetevals, 0, 10);
|
$c->stash->{evals} = getEvals($self, $c, scalar $c->stash->{jobset}->jobsetevals, 0, 10);
|
||||||
|
|
||||||
($c->stash->{latestEval}) = $c->stash->{jobset}->jobsetevals->search({}, { limit => 1, order_by => ["id desc"] });
|
($c->stash->{latestEval}) = $c->stash->{jobset}->jobsetevals->search({}, { rows => 1, order_by => ["id desc"] });
|
||||||
|
|
||||||
$self->status_ok(
|
$self->status_ok(
|
||||||
$c,
|
$c,
|
||||||
|
@ -152,7 +152,7 @@ sub jobs_tab : Chained('jobsetChain') PathPart('jobs-tab') Args(0) {
|
||||||
$c->stash->{inactiveJobs} = [];
|
$c->stash->{inactiveJobs} = [];
|
||||||
|
|
||||||
my $latestEval = $c->stash->{jobset}->jobsetevals->search(
|
my $latestEval = $c->stash->{jobset}->jobsetevals->search(
|
||||||
{ hasnewbuilds => 1}, { limit => 1, order_by => ["id desc"] })->single;
|
{ hasnewbuilds => 1 }, { rows => 1, order_by => ["id desc"] })->single;
|
||||||
|
|
||||||
my %activeJobs;
|
my %activeJobs;
|
||||||
if (defined $latestEval) {
|
if (defined $latestEval) {
|
||||||
|
|
Loading…
Reference in a new issue