Sort metrics by name

This commit is contained in:
Eelco Dolstra 2016-03-25 11:56:25 +01:00
parent 32fa392146
commit 759bd38ef2

View file

@ -79,7 +79,7 @@ sub overview : Chained('job') PathPart('') Args(0) {
})->count == 1 if $c->user_exists;
$c->stash->{metrics} = [ $job->buildmetrics->search(
{ }, { select => ["name"], distinct => 1, order_by => "timestamp desc", }) ];
{ }, { select => ["name"], distinct => 1, order_by => "name", }) ];
}