aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-01-23 18:38:10 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-01-23 18:38:10 +0000
commit4f8f83993cd296d02a8380ddbf0f52913f668682 (patch)
tree42fa3307489b5e392efc8c70f18629647223faf7
parent31527bd5d3f40d3caa7bb6532fde2cd5b96d06de (diff)
downloadelgg-4f8f83993cd296d02a8380ddbf0f52913f668682.tar.gz
elgg-4f8f83993cd296d02a8380ddbf0f52913f668682.tar.bz2
Fixes #1455: Updated search URL for admin user search. (The old one worked, but didn't limit to users.)
git-svn-id: http://code.elgg.org/elgg/trunk@3831 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--views/default/admin/user_opt/search.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/views/default/admin/user_opt/search.php b/views/default/admin/user_opt/search.php
index da77ed746..2e337755b 100644
--- a/views/default/admin/user_opt/search.php
+++ b/views/default/admin/user_opt/search.php
@@ -9,14 +9,15 @@
*/
?>
<div id="search-box">
- <form action="<?php echo $vars['url']; ?>search/" method="get">
+ <form action="<?php echo $vars['url']; ?>pg/search/" method="get">
<b><?php echo elgg_echo('admin:user:label:search'); ?></b>
<?php
- echo elgg_view('input/text',array('internalname' => 'tag'));
+ echo elgg_view('input/text',array('internalname' => 'q'));
?>
- <input type="hidden" name="object" value="user" />
+ <input type="hidden" name="entity_type" value="user" />
+ <input type="hidden" name="search_type" value="entities" />
<input type="submit" name="<?php echo elgg_echo('admin:user:label:searchbutton'); ?>"
value="<?php echo elgg_echo('admin:user:label:searchbutton'); ?>" />
</form>