aboutsummaryrefslogtreecommitdiff
path: root/mod/groups
diff options
context:
space:
mode:
authordave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-19 16:32:12 +0000
committerdave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-19 16:32:12 +0000
commit9fa9b0909ca4c856b017246f216a902ded1d4190 (patch)
tree0113eb6bfff33a135c216f0480534b1e4205f7d9 /mod/groups
parent1d87c40db368c30c0268a2e45c6fa0b7916ee160 (diff)
downloadelgg-9fa9b0909ca4c856b017246f216a902ded1d4190.tar.gz
elgg-9fa9b0909ca4c856b017246f216a902ded1d4190.tar.bz2
it is now possible to list groups by most popular
git-svn-id: https://code.elgg.org/elgg/trunk@2820 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/groups')
-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);