diff options
author | fenn-cs <fenn25.fn@gmail.com> | 2024-03-03 13:28:40 +0100 |
---|---|---|
committer | fenn-cs <fenn25.fn@gmail.com> | 2024-03-07 21:10:54 +0100 |
commit | 035a2c706223475d9ea95430ddeae85645d03102 (patch) | |
tree | addbc688fab8a3d37430d50f1c4fd85e6e09c029 /apps/files/lib/Controller/ViewController.php | |
parent | 0fd31cdb4c1fb26bf5cd7645d4a187237687049d (diff) | |
download | nextcloud-server-035a2c706223475d9ea95430ddeae85645d03102.tar.gz nextcloud-server-035a2c706223475d9ea95430ddeae85645d03102.zip |
feat(files): add search plugin to search in specified folder exclusively
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Diffstat (limited to 'apps/files/lib/Controller/ViewController.php')
-rw-r--r-- | apps/files/lib/Controller/ViewController.php | 2 |
1 files changed, 2 insertions, 0 deletions
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()); |