Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2020-12-12 02:25:10 +0300
committerArthur Schiwon <blizzz@arthur-schiwon.de>2020-12-15 13:53:39 +0300
commitd8ad4ef6b5fc038e8187dc285925cd1a0d7fb5bf (patch)
tree2ecbc4bf0bcd0737f7cf57ecb6bbee22982a1928 /config/config.sample.php
parent2b017b704a4a49801bc09774a1a17cfedca9cc7e (diff)
use a consistent default value for sharing.maxAutocompleteResults
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'config/config.sample.php')
-rw-r--r--config/config.sample.php13
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