summaryrefslogtreecommitdiffstats
path: root/apps/settings/lib
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2020-08-05 17:56:01 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2020-08-05 17:57:17 +0200
commitd2c0569b490235ae6d01087a676b2f2075a1dcb7 (patch)
tree088cd2e214cd5c22ad1d6de688b559ae7ebc33c8 /apps/settings/lib
parent55473dd2eb042078b7fc5aef37e7b7fb614554fa (diff)
downloadnextcloud-server-d2c0569b490235ae6d01087a676b2f2075a1dcb7.tar.gz
nextcloud-server-d2c0569b490235ae6d01087a676b2f2075a1dcb7.zip
Fix search providers order and IDs
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/settings/lib')
-rw-r--r--apps/settings/lib/Search/SectionSearch.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/settings/lib/Search/SectionSearch.php b/apps/settings/lib/Search/SectionSearch.php
index 795b9f7e9f7..b90eda42bb6 100644
--- a/apps/settings/lib/Search/SectionSearch.php
+++ b/apps/settings/lib/Search/SectionSearch.php
@@ -62,7 +62,7 @@ class SectionSearch implements IProvider {
* @inheritDoc
*/
public function getId(): string {
- return 'settings_sections';
+ return 'settings';
}
/**
@@ -79,7 +79,8 @@ class SectionSearch implements IProvider {
if ($route === 'settings.PersonalSettings.index' || $route === 'settings.AdminSettings.index') {
return -1;
}
- return 20;
+ // At the very bottom
+ return 500;
}
/**