Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

MDL-40524: mod_wiki: Display comments in order

  • Loading branch information...
commit cde6172df8679de93cb9bff95bc263f47a1042a3 1 parent cce0d9a
mdebus4 mdebus4 authored aolley committed

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  mod/wiki/locallib.php
2  mod/wiki/locallib.php
@@ -1165,7 +1165,7 @@ function wiki_get_comment($commentid){
1165 1165 function wiki_get_comments($contextid, $pageid) {
1166 1166 global $DB;
1167 1167
1168   - return $DB->get_records('comments', array('contextid' => $contextid, 'itemid' => $pageid, 'commentarea' => 'wiki_page'));
  1168 + return $DB->get_records('comments', array('contextid' => $contextid, 'itemid' => $pageid, 'commentarea' => 'wiki_page'), 'timecreated ASC');
1169 1169 }
1170 1170
1171 1171 /**

0 comments on commit cde6172

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