From e4d3c9c319a9fba547beae7ce4d33ed408ae5ad7 Mon Sep 17 00:00:00 2001 From: Roman Perekhod Date: Fri, 7 Mar 2025 11:00:08 +0100 Subject: [PATCH] Adjust the capabilities according to full text search configurations --- changelog/unreleased/adjust-capabilities.md | 6 ++++++ services/frontend/pkg/revaconfig/config.go | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 changelog/unreleased/adjust-capabilities.md diff --git a/changelog/unreleased/adjust-capabilities.md b/changelog/unreleased/adjust-capabilities.md new file mode 100644 index 00000000000..58d1a8494e2 --- /dev/null +++ b/changelog/unreleased/adjust-capabilities.md @@ -0,0 +1,6 @@ +Bugfix: Adjust the capabilities according to full text search config + +Adjust the capabilities according to full text search configurations. + +https://github.com/owncloud/ocis/pull/11111 +https://github.com/owncloud/ocis/issues/11059 diff --git a/services/frontend/pkg/revaconfig/config.go b/services/frontend/pkg/revaconfig/config.go index 3cd7ad87add..69a4bd94d50 100644 --- a/services/frontend/pkg/revaconfig/config.go +++ b/services/frontend/pkg/revaconfig/config.go @@ -324,7 +324,7 @@ func FrontendConfigFromStruct(cfg *config.Config, logger log.Logger) (map[string "enabled": true, }, "content": map[string]interface{}{ - "enabled": true, + "enabled": cfg.FullTextSearch, }, "scope": map[string]interface{}{ "enabled": true,