]> git.p6c8.net - selfforum.git/commitdiff
sort threads by number, not alphabetically
authorndparker <>
Sun, 29 Jul 2001 01:42:34 +0000 (01:42 +0000)
committerndparker <>
Sun, 29 Jul 2001 01:42:34 +0000 (01:42 +0000)
selfforum-cgi/shared/Template/Archive.pm

index 3bc080767aee621337b9ef29a635d19cfd937cea..bae7d473a571a68848040abb6de337f59674d185 100644 (file)
@@ -243,7 +243,7 @@ sub print_month_as_HTML($$$) {
     #
     # thread overview
     #
-    for (sort keys %$threads) {
+    for (sort {$a <=> $b} keys %$threads) {
         print ${$template->scrap(
             $assign->{'monthThreadEntry'},
             {

patrick-canterino.de