Add config for setting search_min_length capability

This adds the "search_min_length" setting to the frontend service which
allows to set the search_min_length capabilty which is e.g. used by
web.

Partial: #547
This commit is contained in:
Ralf Haferkamp
2022-07-20 11:55:04 +02:00
committed by Ralf Haferkamp
parent 8d454cfd3d
commit 288b76d955
3 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -165,7 +165,7 @@ func FrontendConfigFromStruct(cfg *config.Config) map[string]interface{} {
"share_with_group_members_only": true,
"share_with_membership_groups_only": true,
"default_permissions": 22,
"search_min_length": 3,
"search_min_length": cfg.SearchMinLength,
"public": map[string]interface{}{
"alias": true,
"enabled": true,