]> git.mjollnir.org Git - moodle.git/commitdiff
News items on home page should be sorted by date of first post
authormoodler <moodler>
Wed, 5 Apr 2006 01:54:41 +0000 (01:54 +0000)
committermoodler <moodler>
Wed, 5 Apr 2006 01:54:41 +0000 (01:54 +0000)
index.php

index 014bf5b45a6d70b9c5a590e5463008ed1c6047d7..265b93cd696d7f2fb4f700116e5bd4627972d708 100644 (file)
--- a/index.php
+++ b/index.php
                     }
 
                     print_heading_block($headertext);
-                    forum_print_latest_discussions($SITE, $newsforum, $SITE->newsitems);
+                    forum_print_latest_discussions($SITE, $newsforum, $SITE->newsitems, 'plain', 'p.modified DESC');
                 }
             break;