summaryrefslogtreecommitdiff
path: root/modules/comment/comment.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/comment/comment.module')
-rw-r--r--modules/comment/comment.module1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/comment/comment.module b/modules/comment/comment.module
index ee0f0764f..c524a2725 100644
--- a/modules/comment/comment.module
+++ b/modules/comment/comment.module
@@ -524,6 +524,7 @@ function comment_new_page_count($num_comments, $new_replies, $node) {
->condition('nid', $node->nid)
->condition('status', COMMENT_PUBLISHED)
->orderBy('changed', 'DESC')
+ ->orderBy('cid', 'DESC')
->range(0, $new_replies);
// 2. Find the first thread.