mirror of
https://github.com/nextcloud/server.git
synced 2024-08-25 17:54:59 +02:00
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')
|
||||
.tooltip('hide');
|
||||
|
||||
var perPage = 200;
|
||||
var perPage = parseInt(oc_config['sharing.maxAutocompleteResults'], 10) || 200;
|
||||
this._getSuggestions(
|
||||
search.term.trim(),
|
||||
perPage,
|
||||
@ -570,7 +570,7 @@
|
||||
$shareWithField.focus();
|
||||
};
|
||||
|
||||
var perPage = 200;
|
||||
var perPage = parseInt(oc_config['sharing.maxAutocompleteResults'], 10) || 200;
|
||||
var onlyExactMatches = true;
|
||||
this._getSuggestions(
|
||||
$shareWithField.val(),
|
||||
|
Loading…
Reference in New Issue
Block a user