summaryrefslogtreecommitdiffstats
path: root/apps/files/lib/AppInfo
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2020-06-17 10:29:50 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2020-06-24 14:20:26 +0200
commitf8e08a74bac4b065edcade762e2ca3632ff76797 (patch)
tree2a10c4612839850ab9d7791bd5d4c952992ee696 /apps/files/lib/AppInfo
parent4488e846a526ed8de37e9756621b7c008d7a9466 (diff)
downloadnextcloud-server-f8e08a74bac4b065edcade762e2ca3632ff76797.tar.gz
nextcloud-server-f8e08a74bac4b065edcade762e2ca3632ff76797.zip
Implement unified search for Files
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'apps/files/lib/AppInfo')
-rw-r--r--apps/files/lib/AppInfo/Application.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/files/lib/AppInfo/Application.php b/apps/files/lib/AppInfo/Application.php
index 82562ffe9f0..5e473c411ee 100644
--- a/apps/files/lib/AppInfo/Application.php
+++ b/apps/files/lib/AppInfo/Application.php
@@ -44,6 +44,7 @@ use OCA\Files\Event\LoadSidebar;
use OCA\Files\Listener\LegacyLoadAdditionalScriptsAdapter;
use OCA\Files\Listener\LoadSidebarListener;
use OCA\Files\Notification\Notifier;
+use OCA\Files\Search\FilesSearchProvider;
use OCA\Files\Service\TagService;
use OCP\AppFramework\App;
use OCP\AppFramework\Bootstrap\IBootContext;
@@ -106,6 +107,8 @@ class Application extends App implements IBootstrap {
$context->registerEventListener(LoadAdditionalScriptsEvent::class, LegacyLoadAdditionalScriptsAdapter::class);
$context->registerEventListener(LoadSidebar::class, LoadSidebarListener::class);
+
+ $context->registerSearchProvider(FilesSearchProvider::class);
}
public function boot(IBootContext $context): void {