Compare commits

..

2 Commits

Author SHA1 Message Date
4eb17dfc02 Merge pull request 'Order previous builds on status page' (#4401) from feat-ordered-builds into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #4401
2024-08-26 14:01:11 +00:00
7ee1d1550c
Order previous builds on status page
All checks were successful
continuous-integration/drone/pr Build is passing
2024-08-26 16:00:38 +02:00

View File

@ -80,7 +80,7 @@ fi)
<div class="scrollbox">
<a href="./">latest</a><br>
$(
find "$DATADIR" -name "status_*.html" -type f -printf "%f\n" | head -n10 | while read stat; do
find "$DATADIR" -name "status_*.html" -type f -printf "%f\n" | sort -r | head -n10 | while read stat; do
t="${stat#status_}"
t="${t%.html}"
printf '<a href="%s">%s</a> - %s<br>' \