From 96287f336e2918236e9e1de4bf12635449494b98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Wed, 3 Mar 2021 13:20:58 +0100 Subject: Add appconfig to always show the unique label of a sharee MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl Signed-off-by: npmbuildbot-nextcloud[bot] --- apps/files_sharing/lib/Capabilities.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'apps/files_sharing/lib') diff --git a/apps/files_sharing/lib/Capabilities.php b/apps/files_sharing/lib/Capabilities.php index 61e8f3b63b6..55cce5f3e76 100644 --- a/apps/files_sharing/lib/Capabilities.php +++ b/apps/files_sharing/lib/Capabilities.php @@ -115,7 +115,8 @@ class Capabilities implements ICapability { // Sharee searches $res['sharee'] = [ - 'query_lookup_default' => $this->config->getSystemValueBool('gs.enabled', false) + 'query_lookup_default' => $this->config->getSystemValueBool('gs.enabled', false), + 'always_show_unique' => $this->config->getAppValue('files_sharing', 'always_show_unique', 'yes') === 'yes', ]; return [ -- cgit v1.2.3