aboutsummaryrefslogtreecommitdiff
path: root/mod/members
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2012-01-20 20:59:34 -0500
committerCash Costello <cash.costello@gmail.com>2012-01-20 20:59:34 -0500
commit1b15e9f33013cc5407ff7620989a3bb027348c41 (patch)
tree02fb3d58d6ad7d6293e52d002b966f0a08f9822e /mod/members
parentb8d9fd50683965259f1836b959c74dc96f10a525 (diff)
downloadelgg-1b15e9f33013cc5407ff7620989a3bb027348c41.tar.gz
elgg-1b15e9f33013cc5407ff7620989a3bb027348c41.tar.bz2
Fixes #4303 passing arguments to elgg_view_entity_list in options array
Diffstat (limited to 'mod/members')
-rw-r--r--mod/members/pages/members/search.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/mod/members/pages/members/search.php b/mod/members/pages/members/search.php
index 94127768a..1f0444d67 100644
--- a/mod/members/pages/members/search.php
+++ b/mod/members/pages/members/search.php
@@ -17,7 +17,14 @@ if ($vars['search_type'] == 'tag') {
$results = elgg_trigger_plugin_hook('search', 'tags', $options, array());
$count = $results['count'];
$users = $results['entities'];
- $content = elgg_view_entity_list($users, $count, $offset, $limit, false, false, true);
+ $content = elgg_view_entity_list($users, array(
+ 'count' => $count,
+ 'offset' => $offset,
+ 'limit' => $limit,
+ 'full_view' => false,
+ 'list_type_toggle' => false,
+ 'pagination' => true,
+ ));
} else {
$name = sanitize_string(get_input('name'));