summaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2017-03-07 23:47:36 +0100
committerDylan William Hardison <dylan@hardison.net>2017-05-24 20:24:54 +0200
commit50fc9d77128db4f8565265047166c6ef61bac5c5 (patch)
treeeadc23eeaca476412e36c63161f5a2e4ab96aabd /js
parent0ea91b298e8fc1c439f42c9288247e9223ce552e (diff)
downloadbugzilla-50fc9d77128db4f8565265047166c6ef61bac5c5.tar.gz
bugzilla-50fc9d77128db4f8565265047166c6ef61bac5c5.tar.xz
Bug 1307485 - Add code to run a subset of buglist.cgi search queries against the ES backend
Diffstat (limited to 'js')
-rw-r--r--js/field.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/js/field.js b/js/field.js
index 349e2fae3..b514fa53c 100644
--- a/js/field.js
+++ b/js/field.js
@@ -713,15 +713,13 @@ $(function() {
}
var options_user = {
- serviceUrl: 'rest/user',
+ serviceUrl: 'rest/elastic/suggest_users',
params: {
Bugzilla_api_token: BUGZILLA.api_token,
- include_fields: 'name,real_name',
- limit: 100
},
paramName: 'match',
deferRequestBy: 250,
- minChars: 3,
+ minChars: 2,
tabDisabled: true,
autoSelectFirst: true,
triggerSelectOnValidInput: false,