diff options
author | dave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-05-18 13:32:03 +0000 |
---|---|---|
committer | dave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-05-18 13:32:03 +0000 |
commit | 930adeffe8d65c911f04fb37ca3cc65df3ed02e5 (patch) | |
tree | fe35732078b437f3807bfcf2ea52253727f4cd6a /mod | |
parent | 75edf38bbb4fbd8352bbc1a356ad7d54230313cc (diff) | |
download | elgg-930adeffe8d65c911f04fb37ca3cc65df3ed02e5.tar.gz elgg-930adeffe8d65c911f04fb37ca3cc65df3ed02e5.tar.bz2 |
browse members now working for 1.8
git-svn-id: http://code.elgg.org/elgg/trunk@6082 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod')
-rw-r--r-- | mod/members/index.php | 3 |
1 files changed, 1 insertions, 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; |