aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-12 16:03:45 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-12 16:03:45 +0000
commit79de63cbd6829208816d4764347f9f74c14bf6b8 (patch)
tree4e6aaf0d3138902ceec93a7f0c6144739ed523eb /engine
parent32c4a1b060e451df24b34da3132721e7b9370020 (diff)
downloadelgg-79de63cbd6829208816d4764347f9f74c14bf6b8.tar.gz
elgg-79de63cbd6829208816d4764347f9f74c14bf6b8.tar.bz2
A minor stabilisation change for river2
git-svn-id: https://code.elgg.org/elgg/trunk@2726 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/river2.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/river2.php b/engine/lib/river2.php
index 3471e3fef..3648123a6 100644
--- a/engine/lib/river2.php
+++ b/engine/lib/river2.php
@@ -192,7 +192,7 @@
$whereclause = implode(' and ', $where);
// Construct main SQL
- $sql = "select id,type,subtype,action_type,access_id,view,subject_guid,object_guid,posted from {$CONFIG->dbprefix}river where {$whereclause} limit {$offset},{$limit}";
+ $sql = "select id,type,subtype,action_type,access_id,view,subject_guid,object_guid,posted from {$CONFIG->dbprefix}river where {$whereclause} order by posted desc limit {$offset},{$limit}";
// Get data
return get_data($sql);