From 035a2c706223475d9ea95430ddeae85645d03102 Mon Sep 17 00:00:00 2001 From: fenn-cs Date: Sun, 3 Mar 2024 13:28:40 +0100 Subject: feat(files): add search plugin to search in specified folder exclusively Signed-off-by: fenn-cs --- apps/files/lib/Controller/ViewController.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apps/files/lib/Controller/ViewController.php') diff --git a/apps/files/lib/Controller/ViewController.php b/apps/files/lib/Controller/ViewController.php index 12de4e1f6a2..2934ac06704 100644 --- a/apps/files/lib/Controller/ViewController.php +++ b/apps/files/lib/Controller/ViewController.php @@ -38,6 +38,7 @@ namespace OCA\Files\Controller; use OCA\Files\Activity\Helper; use OCA\Files\AppInfo\Application; use OCA\Files\Event\LoadAdditionalScriptsEvent; +use OCA\Files\Event\LoadSearchPlugins; use OCA\Files\Event\LoadSidebar; use OCA\Files\Service\UserConfig; use OCA\Files\Service\ViewConfig; @@ -260,6 +261,7 @@ class ViewController extends Controller { $this->eventDispatcher->dispatchTyped($event); $this->eventDispatcher->dispatchTyped(new ResourcesLoadAdditionalScriptsEvent()); $this->eventDispatcher->dispatchTyped(new LoadSidebar()); + $this->eventDispatcher->dispatchTyped(new LoadSearchPlugins()); // Load Viewer scripts if (class_exists(LoadViewer::class)) { $this->eventDispatcher->dispatchTyped(new LoadViewer()); -- cgit v1.2.3