# HG changeset patch # User Christophe Lincoln # Date 1389121663 -3600 # Node ID 519564b133145cf95645bfee49e44cad7202be15 # Parent a8b2767870a7a24439d675fc104758af8385128a Fix last bug listing (again) diff -r a8b2767870a7 -r 519564b13314 web/bugs.cgi --- a/web/bugs.cgi Tue Jan 07 19:09:39 2014 +0100 +++ b/web/bugs.cgi Tue Jan 07 20:07:43 2014 +0100 @@ -832,7 +832,7 @@ EOT # List last 3 bugs echo "
"
-		for lb in $(ls ${bugdir} | sort -n | tail -n 3)
+		for lb in $(ls ${bugdir} | sort -r -n | head -n 3)
 		do
 			list_bug ${lb}
 		done