aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/views.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/views.php')
-rw-r--r--engine/lib/views.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/views.php b/engine/lib/views.php
index d1782acc2..39ba64a77 100644
--- a/engine/lib/views.php
+++ b/engine/lib/views.php
@@ -1091,7 +1091,7 @@ function elgg_view_latest_comments($owner_guid, $type = 'object', $subtype = '',
$options = array(
'annotation_name' => 'generic_comment',
'owner_guid' => $owner_guid,
- 'order_by' => 'n_table.time_created desc',
+ 'reverse_order_by' => true,
'limit' => $number
);