aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/TemplateLayout.php
diff options
context:
space:
mode:
authorfenn-cs <fenn25.fn@gmail.com>2023-12-07 13:20:59 +0100
committerFerdinand Thiessen <opensource@fthiessen.de>2023-12-12 20:34:37 +0100
commit0b171f60951f6fbf7ce0b666d72259a4325cf9e0 (patch)
tree0058ac2f08b16e0b9f6fce3f92d7b60e6971f27a /lib/private/TemplateLayout.php
parent6c482bc5c8328b7f51631f8300a334e369ed1dbc (diff)
downloadnextcloud-server-0b171f60951f6fbf7ce0b666d72259a4325cf9e0.tar.gz
nextcloud-server-0b171f60951f6fbf7ce0b666d72259a4325cf9e0.zip
Rename "global search" to "unified search"
- Changes appearances of "Global search" to "Unified search" in UI - Refactors code, to remove usage of term "GlobalSearch" in files and code structure - Rename old unified search to `legacy-unified-search` Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Diffstat (limited to 'lib/private/TemplateLayout.php')
-rw-r--r--lib/private/TemplateLayout.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/TemplateLayout.php b/lib/private/TemplateLayout.php
index b8c8f5b8e67..13ac3c5ef48 100644
--- a/lib/private/TemplateLayout.php
+++ b/lib/private/TemplateLayout.php
@@ -113,9 +113,9 @@ class TemplateLayout extends \OC_Template {
$this->initialState->provideInitialState('unified-search', 'limit-default', (int)$this->config->getAppValue('core', 'unified-search.limit-default', (string)SearchQuery::LIMIT_DEFAULT));
$this->initialState->provideInitialState('unified-search', 'min-search-length', (int)$this->config->getAppValue('core', 'unified-search.min-search-length', (string)1));
$this->initialState->provideInitialState('unified-search', 'live-search', $this->config->getAppValue('core', 'unified-search.live-search', 'yes') === 'yes');
- Util::addScript('core', 'unified-search', 'core');
+ Util::addScript('core', 'legacy-unified-search', 'core');
} else {
- Util::addScript('core', 'global-search', 'core');
+ Util::addScript('core', 'unified-search', 'core');
}
// Set body data-theme
$this->assign('enabledThemes', []);