aboutsummaryrefslogtreecommitdiff
path: root/js/lib/userpicker.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/lib/userpicker.js')
-rw-r--r--js/lib/userpicker.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/lib/userpicker.js b/js/lib/userpicker.js
index 475af150f..826bf21a0 100644
--- a/js/lib/userpicker.js
+++ b/js/lib/userpicker.js
@@ -75,9 +75,9 @@ elgg.userpicker.removeUser = function(link, guid) {
elgg.userpicker.getSearchParams = function(e) {
if ($(e).closest('.elgg-user-picker').find('[name=match_on]').attr('checked')) {
- return {'match_on[]': 'friends'};
+ return {'match_on[]': 'friends', 'term' : e.term};
} else {
- return {'match_on[]': 'users'};
+ return {'match_on[]': 'users', 'term' : e.term};
}
}