autocomplete: increase number of results returned from 10 to 20.

The new autocomplete system tends to return more results, so increase
the number of tags shown from 10 to 20. This is useful so you can do things
like search for 'skirt' during tagging to find all skirt-related tags.
This commit is contained in:
evazion
2022-09-02 00:15:42 -05:00
parent 8491bef6e6
commit 350009fd15

View File

@@ -1,7 +1,7 @@
let Autocomplete = {};
Autocomplete.VERSION = 1; // This should be bumped whenever the /autocomplete API changes in order to invalid client caches.
Autocomplete.MAX_RESULTS = 10;
Autocomplete.MAX_RESULTS = 20;
Autocomplete.initialize_all = function() {
$.widget("ui.autocomplete", $.ui.autocomplete, {