summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/comment/comment.module1
-rw-r--r--modules/taxonomy/taxonomy.module3
2 files changed, 3 insertions, 1 deletions
diff --git a/modules/comment/comment.module b/modules/comment/comment.module
index da9ea6f35..913a1a548 100644
--- a/modules/comment/comment.module
+++ b/modules/comment/comment.module
@@ -498,6 +498,7 @@ function comment_nodeapi_view($node, $teaser) {
if ($node->comment && (bool)menu_get_object() && $node->build_mode != NODE_BUILD_PREVIEW) {
$node->content['comments'] = array(
'#markup' => comment_render($node),
+ '#sorted' => TRUE,
);
}
}
diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module
index ecbe2c9de..695b45bc1 100644
--- a/modules/taxonomy/taxonomy.module
+++ b/modules/taxonomy/taxonomy.module
@@ -76,7 +76,8 @@ function taxonomy_nodeapi_view($node) {
$node->content['links']['terms'] = array(
'#type' => 'node_links',
- '#value' => $links
+ '#value' => $links,
+ '#sorted' => TRUE,
);
}