diff options
Diffstat (limited to 'mod')
-rw-r--r-- | mod/groups/forum.php | 3 |
1 files changed, 2 insertions, 1 deletions
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));
|