From 759bd38ef2ff02a9f8f3e8f2b643180d7c89fa7f Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 25 Mar 2016 11:56:25 +0100 Subject: [PATCH] Sort metrics by name --- src/lib/Hydra/Controller/Job.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/Hydra/Controller/Job.pm b/src/lib/Hydra/Controller/Job.pm index 475eca37..7f5bbb56 100644 --- a/src/lib/Hydra/Controller/Job.pm +++ b/src/lib/Hydra/Controller/Job.pm @@ -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", }) ]; }