diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-02-12 14:12:01 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-02-12 14:12:01 +0000 |
commit | cd6f6e279f82f4a4f3f0609b159da2326fcd94ef (patch) | |
tree | e492520d5e14bb890822f992c97100c3ee2a89d2 /modules | |
parent | 6618e07462748b484d8d5a0ea3bece08a60f28e8 (diff) | |
download | brdo-cd6f6e279f82f4a4f3f0609b159da2326fcd94ef.tar.gz brdo-cd6f6e279f82f4a4f3f0609b159da2326fcd94ef.tar.bz2 |
- Patch #314349 by catch, mfb: fixed ordering.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/comment/comment.module | 1 |
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. |