From cd6f6e279f82f4a4f3f0609b159da2326fcd94ef Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 12 Feb 2010 14:12:01 +0000 Subject: - Patch #314349 by catch, mfb: fixed ordering. --- modules/comment/comment.module | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/comment/comment.module') 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. -- cgit v1.2.3