]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Fixes #3069. Added group activity content.
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>
Thu, 10 Mar 2011 05:34:06 +0000 (05:34 +0000)
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>
Thu, 10 Mar 2011 05:34:06 +0000 (05:34 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@8648 36083f99-b078-4883-b0ff-0f9b5a30f544

mod/groups/lib/groups.php

index 28816c3093d30c2578afb48b9c8003336ce37a52..d3b8bd26aa9ade4f4689994634d66f95fa595e4a 100644 (file)
@@ -236,7 +236,12 @@ function groups_handle_activity_page($guid) {
        elgg_push_breadcrumb($group->name, $group->getURL());
        elgg_push_breadcrumb($title);
 
-       $content = "Group activity goes here";
+       $db_prefix = elgg_get_config('dbprefix');
+
+       $content = elgg_list_river(array(
+               'joins' => array("JOIN {$db_prefix}entities e ON e.guid = rv.object_guid"),
+               'wheres' => array("e.container_guid = $guid")
+       ));
 
        $params = array(
                'content' => $content,