diff options
author | fenn-cs <fenn25.fn@gmail.com> | 2023-12-07 13:20:59 +0100 |
---|---|---|
committer | nextcloud-command <nextcloud-command@users.noreply.github.com> | 2023-12-22 13:13:03 +0000 |
commit | 525c2b82f6a3a6acec6312e368448e50274f7319 (patch) | |
tree | f53bc2130f1c5bccba83fbc6a96abfce79ef3e67 /lib | |
parent | fecb3ea41cd9fe2e7f12fdb4b9b9a24845de281a (diff) | |
download | nextcloud-server-525c2b82f6a3a6acec6312e368448e50274f7319.tar.gz nextcloud-server-525c2b82f6a3a6acec6312e368448e50274f7319.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>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Diffstat (limited to 'lib')
-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 d99bd943265..96d0ae3e517 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', []); |