summaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2017-03-17 21:53:57 +0100
committerDylan William Hardison <dylan@hardison.net>2017-03-17 21:53:57 +0100
commit1ad85fd04a2268a660fbf35068e730dda917d137 (patch)
tree3155f5d6d82532810cb653fa04b7e466199f7e71 /js
parent4cc54c4c9acd39b1b0850c9d5a937f5f909d18d0 (diff)
downloadbugzilla-1ad85fd04a2268a660fbf35068e730dda917d137.tar.gz
bugzilla-1ad85fd04a2268a660fbf35068e730dda917d137.tar.xz
Bug 1307485 - Add code to run a subset of buglist.cgi search queries against the ES backend
This not the cause of test failures, so should live on in master now.
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,