aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
authordave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-22 14:13:48 +0000
committerdave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-22 14:13:48 +0000
commitdf60c276f032448e5eccb7ebaaeb40c66045c844 (patch)
treeadb849da19e2dc11071bdaf5fc9d3db4cd8515fc /mod
parent7ccee82ef0284fb0399369ad6282cd9ddc3e0e1d (diff)
downloadelgg-df60c276f032448e5eccb7ebaaeb40c66045c844.tar.gz
elgg-df60c276f032448e5eccb7ebaaeb40c66045c844.tar.bz2
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
Diffstat (limited to 'mod')
-rw-r--r--mod/groups/forum.php3
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));