From 79de63cbd6829208816d4764347f9f74c14bf6b8 Mon Sep 17 00:00:00 2001 From: ben Date: Thu, 12 Feb 2009 16:03:45 +0000 Subject: A minor stabilisation change for river2 git-svn-id: https://code.elgg.org/elgg/trunk@2726 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/river2.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3