tazbug rev 57
Fix last bug listing (again)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Jan 07 20:07:43 2014 +0100 (2014-01-07) |
parents | a8b2767870a7 |
children | f005632d7c8b |
files | web/bugs.cgi |
line diff
1.1 --- a/web/bugs.cgi Tue Jan 07 19:09:39 2014 +0100 1.2 +++ b/web/bugs.cgi Tue Jan 07 20:07:43 2014 +0100 1.3 @@ -832,7 +832,7 @@ 1.4 EOT 1.5 # List last 3 bugs 1.6 echo "<pre>" 1.7 - for lb in $(ls ${bugdir} | sort -n | tail -n 3) 1.8 + for lb in $(ls ${bugdir} | sort -r -n | head -n 3) 1.9 do 1.10 list_bug ${lb} 1.11 done