From df60c276f032448e5eccb7ebaaeb40c66045c844 Mon Sep 17 00:00:00 2001 From: dave Date: Sun, 22 Feb 2009 14:13:48 +0000 Subject: group forum posts are now displayed based on last action git-svn-id: https://code.elgg.org/elgg/trunk@2878 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/groups/forum.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mod') diff --git a/mod/groups/forum.php b/mod/groups/forum.php index ce35e2135..fd319e7c9 100644 --- a/mod/groups/forum.php +++ b/mod/groups/forum.php @@ -15,7 +15,8 @@ if (!(page_owner_entity() instanceof ElggGroup)) forward(); //get any forum topics - $topics = get_entities("object", "groupforumtopic", 0, "", 50, 0, false, 0, get_input('group_guid')); + //$topics = get_entities("object", "groupforumtopic", 0, "", 50, 0, false, 0, get_input('group_guid')); + $topics = get_entities_from_annotations("object", "groupforumtopic", "group_topic_post", "", 0, get_input('group_guid'), 20, 0, "desc", false); $area2 = elgg_view("forum/topics", array('entity' => $topics)); -- cgit v1.2.3