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:
authorJulius Härtl <jus@bitgrid.net>2021-03-03 15:20:58 +0300
committernpmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>2021-03-18 16:07:03 +0300
commit96287f336e2918236e9e1de4bf12635449494b98 (patch)
tree4f8bd9f3ea6b605949cf46591d2cb7b9257798fe /apps/files_sharing/lib
parent939db1f46619d7236e1126ca8e519b03ddc29aa1 (diff)
Add appconfig to always show the unique label of a sharee
Signed-off-by: Julius Härtl <jus@bitgrid.net> Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
Diffstat (limited to 'apps/files_sharing/lib')
-rw-r--r--apps/files_sharing/lib/Capabilities.php3
1 files changed, 2 insertions, 1 deletions
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 [