diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2020-08-05 17:56:01 +0200 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2020-08-05 17:57:17 +0200 |
commit | d2c0569b490235ae6d01087a676b2f2075a1dcb7 (patch) | |
tree | 088cd2e214cd5c22ad1d6de688b559ae7ebc33c8 /apps/settings/lib | |
parent | 55473dd2eb042078b7fc5aef37e7b7fb614554fa (diff) | |
download | nextcloud-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.php | 5 |
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; } /** |