Skip to content
Browse files

MDL-40524: mod_wiki: Display comments in order

  • Loading branch information...
1 parent cce0d9a commit cde6172df8679de93cb9bff95bc263f47a1042a3 @mdebus4 mdebus4 committed with aolley Jul 5, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/wiki/locallib.php
View
2 mod/wiki/locallib.php
@@ -1165,7 +1165,7 @@ function wiki_get_comment($commentid){
function wiki_get_comments($contextid, $pageid) {
global $DB;
- return $DB->get_records('comments', array('contextid' => $contextid, 'itemid' => $pageid, 'commentarea' => 'wiki_page'));
+ return $DB->get_records('comments', array('contextid' => $contextid, 'itemid' => $pageid, 'commentarea' => 'wiki_page'), 'timecreated ASC');
}
/**

0 comments on commit cde6172

Please sign in to comment.
Something went wrong with that request. Please try again.