don't user a higher paging size than max autocomplete entries are set
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
parent
e7b0f8b001
commit
4893e1765f
|
@ -396,7 +396,7 @@
|
||||||
$shareWithField.removeClass('error')
|
$shareWithField.removeClass('error')
|
||||||
.tooltip('hide');
|
.tooltip('hide');
|
||||||
|
|
||||||
var perPage = 200;
|
var perPage = parseInt(oc_config['sharing.maxAutocompleteResults'], 10) || 200;
|
||||||
this._getSuggestions(
|
this._getSuggestions(
|
||||||
search.term.trim(),
|
search.term.trim(),
|
||||||
perPage,
|
perPage,
|
||||||
|
@ -570,7 +570,7 @@
|
||||||
$shareWithField.focus();
|
$shareWithField.focus();
|
||||||
};
|
};
|
||||||
|
|
||||||
var perPage = 200;
|
var perPage = parseInt(oc_config['sharing.maxAutocompleteResults'], 10) || 200;
|
||||||
var onlyExactMatches = true;
|
var onlyExactMatches = true;
|
||||||
this._getSuggestions(
|
this._getSuggestions(
|
||||||
$shareWithField.val(),
|
$shareWithField.val(),
|
||||||
|
|
Loading…
Reference in New Issue