From 9fa9b0909ca4c856b017246f216a902ded1d4190 Mon Sep 17 00:00:00 2001 From: dave Date: Thu, 19 Feb 2009 16:32:12 +0000 Subject: 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 --- mod/groups/all.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3