From 930adeffe8d65c911f04fb37ca3cc65df3ed02e5 Mon Sep 17 00:00:00 2001 From: dave Date: Tue, 18 May 2010 13:32:03 +0000 Subject: browse members now working for 1.8 git-svn-id: http://code.elgg.org/elgg/trunk@6082 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/members/index.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mod/members/index.php b/mod/members/index.php index 1f3b984e5..f6a04a216 100644 --- a/mod/members/index.php +++ b/mod/members/index.php @@ -45,7 +45,7 @@ $area2 = elgg_view_title($pagetitle); //get the correct view based on filter switch($filter){ case "newest": - $content = elgg_list_entities("user","",0,10,false); + $filter_content = elgg_list_entities(array('type' => 'user', 'offset' => $offset, 'full_view' => FALSE)); break; case "pop": $filter_content = list_entities_by_relationship_count('friend', true, '', '', 0, 10, false); @@ -70,7 +70,6 @@ switch($filter){ $users = $results['entities']; $filter_content = elgg_view_entity_list($users, $count, $offset, $limit, false, false, true); break; - case "newest": case 'default': $filter_content = elgg_list_entities(array('type' => 'user', 'offset' => $offset, 'full_view' => FALSE)); break; -- cgit v1.2.3