aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/all.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/groups/all.php')
-rw-r--r--mod/groups/all.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/mod/groups/all.php b/mod/groups/all.php
index 9e19fce09..6f0c16add 100644
--- a/mod/groups/all.php
+++ b/mod/groups/all.php
@@ -35,11 +35,12 @@
$options = array(
'type' => 'object',
'subtype' => 'groupforumtopic',
- 'annotation_name' => 'group_topic_post',
+ 'annotation_name' => 'generic_comment',
+ 'order_by' => 'e.last_action desc',
'limit' => 40,
'fullview' => TRUE
);
- $objects = elgg_list_entities_from_annotations($options);
+ $objects = elgg_list_entities($options);
break;
}