diff --git a/apps/files_sharing/lib/Capabilities.php b/apps/files_sharing/lib/Capabilities.php index a849dc4c9d..a55cfb6df1 100644 --- a/apps/files_sharing/lib/Capabilities.php +++ b/apps/files_sharing/lib/Capabilities.php @@ -98,6 +98,11 @@ class Capabilities implements ICapability { 'expire_date' => ['enabled' => true] ]; + // Sharee searches + $res['sharee'] = [ + 'query_lookup_default' => $this->config->getSystemValueBool('gs.enabled', false) + ]; + return [ 'files_sharing' => $res, ];