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
committerJulius Härtl <jus@bitgrid.net>2021-03-04 11:25:45 +0300
commit69c2864aca83beb73fafcd406a8b5f4cb4cd87a9 (patch)
tree78d304272e03465e35ffac10119711432270c057 /apps/files_sharing/lib
parent9b573c6bd5df281833f455c9770826bc74283d5d (diff)
Add appconfig to always show the unique label of a sharee
Signed-off-by: Julius Härtl <jus@bitgrid.net>
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 097fa1b38ed..88af806b2f9 100644
--- a/apps/files_sharing/lib/Capabilities.php
+++ b/apps/files_sharing/lib/Capabilities.php
@@ -116,7 +116,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 [