Commit f9cdd7c3 authored by Charlotte Bataille's avatar Charlotte Bataille
Browse files

feat/18593 : fix typeahead

parent 941b783d
Pipeline #16675 failed with stages
in 21 seconds
......@@ -902,10 +902,11 @@
/* -- EDITION MODAL -- */
var organizations = new Bloodhound({
datumTokenizer: Bloodhound.tokenizers.obj.whitespace('displayName'),
datumTokenizer: Bloodhound.tokenizers.obj.whitespace('orgName'),
queryTokenizer: Bloodhound.tokenizers.whitespace,
prefetch: {
url: '/organizations/todisplay?orgUnit=true',
//url: '/organizations/todisplay?orgUnit=true',
url: '/originator',
ttl: '0'
},
limit: 100
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment