Browse Source
don't user a higher paging size than max autocomplete entries are set
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
pull/11036/head
Arthur Schiwon
7 years ago
No known key found for this signature in database
GPG Key ID: 7424F1874854DF23
1 changed files with
2 additions and
2 deletions
-
core/js/sharedialogview.js
|
|
|
@ -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(), |
|
|
|
|