diff options
author | Julius Härtl <jus@bitgrid.net> | 2021-03-03 15:20:58 +0300 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2021-03-04 11:25:45 +0300 |
commit | 69c2864aca83beb73fafcd406a8b5f4cb4cd87a9 (patch) | |
tree | 78d304272e03465e35ffac10119711432270c057 /apps/files_sharing/lib | |
parent | 9b573c6bd5df281833f455c9770826bc74283d5d (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.php | 3 |
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 [ |