aboutsummaryrefslogtreecommitdiff
path: root/mod/groups
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-10 05:34:06 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-10 05:34:06 +0000
commit7b9a6b57208ec897899cc3eb178de4d4098dae83 (patch)
treed8e43f3c1c3c0e5d2a084294bdbf9613a122e6cd /mod/groups
parent758a4ee6e9ccb286693f1219ed55e60b54afb67d (diff)
downloadelgg-7b9a6b57208ec897899cc3eb178de4d4098dae83.tar.gz
elgg-7b9a6b57208ec897899cc3eb178de4d4098dae83.tar.bz2
Fixes #3069. Added group activity content.
git-svn-id: http://code.elgg.org/elgg/trunk@8648 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/groups')
-rw-r--r--mod/groups/lib/groups.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/mod/groups/lib/groups.php b/mod/groups/lib/groups.php
index 28816c309..d3b8bd26a 100644
--- a/mod/groups/lib/groups.php
+++ b/mod/groups/lib/groups.php
@@ -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,