diff options
author | fenn-cs <fenn25.fn@gmail.com> | 2023-12-07 13:20:59 +0100 |
---|---|---|
committer | Ferdinand Thiessen <opensource@fthiessen.de> | 2023-12-12 20:34:37 +0100 |
commit | 0b171f60951f6fbf7ce0b666d72259a4325cf9e0 (patch) | |
tree | 0058ac2f08b16e0b9f6fce3f92d7b60e6971f27a /lib/private/TemplateLayout.php | |
parent | 6c482bc5c8328b7f51631f8300a334e369ed1dbc (diff) | |
download | nextcloud-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.php | 4 |
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', []); |