From 7733eec973d915c22518fa19933cc4068805b4f0 Mon Sep 17 00:00:00 2001 From: Ian Wienand Date: Wed, 6 Apr 2016 10:42:49 +1000 Subject: [PATCH] Order periodic job results by date When someone looks at the logs for a periodic job, they are almost certainly looking for the results of the latest run. Order the listing by date descending so that is right up the top, and you don't have to search through all the entries to find the latest one. Change-Id: Ie37343728a90a805b20b2b125e17cd3b11dc6b40 --- templates/logs.vhost.erb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/templates/logs.vhost.erb b/templates/logs.vhost.erb index 3f9e125..e02df98 100644 --- a/templates/logs.vhost.erb +++ b/templates/logs.vhost.erb @@ -48,6 +48,10 @@ NameVirtualHost <%= @vhost_name %>:<%= @port %> ReadmeName /help/tempest-logs.html + /periodic*/*> + IndexOrderDefault Descending Date + + RewriteEngine On # rewrite txt.gz & console.html[.gz] files to map to our internal htmlify # wsgi app