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.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/groups/all.php b/mod/groups/all.php
index 97e5126e3..302431944 100644
--- a/mod/groups/all.php
+++ b/mod/groups/all.php
@@ -31,7 +31,7 @@
$objects = list_entities('group',"", 0, $limit, false);
break;
case "pop":
- $objects = list_entities('group',"", 0, $limit, false);
+ $objects = list_entities_by_relationship_count('member',true, "group", "", 0, $limit, true, false, false);
break;
case "active":
$objects = list_entities_from_annotations("object", "groupforumtopic", "group_topic_post", "", 40, 0, 0, false, true);