diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2020-12-12 00:25:10 +0100 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2020-12-15 11:53:39 +0100 |
commit | d8ad4ef6b5fc038e8187dc285925cd1a0d7fb5bf (patch) | |
tree | 2ecbc4bf0bcd0737f7cf57ecb6bbee22982a1928 /config | |
parent | 2b017b704a4a49801bc09774a1a17cfedca9cc7e (diff) | |
download | nextcloud-server-d8ad4ef6b5fc038e8187dc285925cd1a0d7fb5bf.tar.gz nextcloud-server-d8ad4ef6b5fc038e8187dc285925cd1a0d7fb5bf.zip |
use a consistent default value for sharing.maxAutocompleteResults
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'config')
-rw-r--r-- | config/config.sample.php | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/config/config.sample.php b/config/config.sample.php index 8adb5bf2168..50bf46353e4 100644 --- a/config/config.sample.php +++ b/config/config.sample.php @@ -1410,10 +1410,17 @@ $CONFIG = [ 'sharing.managerFactory' => '\OC\Share20\ProviderFactory', /** - * Define max number of results returned by the user search for auto-completion - * Default is unlimited (value set to 0). + * Define max number of results returned by the search for auto-completion of + * users, groups, etc. The value must not be lower than 0 (for unlimited). + * + * If more, different sources are requested (e.g. different user backends; or + * both users and groups), the value is applied per source and might not be + * truncated after collecting the results. I.e. more results can appear than + * configured here. + * + * Default is 25. */ -'sharing.maxAutocompleteResults' => 0, +'sharing.maxAutocompleteResults' => 25, /** * Define the minimum length of the search string before we start auto-completion |