diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-12 23:14:42 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-12 23:14:42 +0000 |
commit | 4dd7d2be5352ac20d3eb2693d78954718c704cbc (patch) | |
tree | d970355770c7ad5ea94d90f3b89dd896cf668a65 /engine/lib | |
parent | 6410b8bda50dffc601e39acab807813692dd167c (diff) | |
download | elgg-4dd7d2be5352ac20d3eb2693d78954718c704cbc.tar.gz elgg-4dd7d2be5352ac20d3eb2693d78954718c704cbc.tar.bz2 |
Updated a few recent calls to elgg_get_annotations() to use 'reverse_order_by' => true.
git-svn-id: http://code.elgg.org/elgg/trunk@8186 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib')
-rw-r--r-- | engine/lib/views.php | 2 |
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 ); |