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
This commit is contained in:
Ian Wienand 2016-04-06 10:42:49 +10:00
parent 084da0b68f
commit 7733eec973
1 changed files with 4 additions and 0 deletions

View File

@ -48,6 +48,10 @@ NameVirtualHost <%= @vhost_name %>:<%= @port %>
ReadmeName /help/tempest-logs.html
</Directory>
<Directory <%= @docroot %>/periodic*/*>
IndexOrderDefault Descending Date
</Directory>
RewriteEngine On
# rewrite txt.gz & console.html[.gz] files to map to our internal htmlify
# wsgi app