summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJörn Friedrich Dreyer <jfd@butonic.de>2014-12-15 16:14:40 +0100
committerJörn Friedrich Dreyer <jfd@butonic.de>2014-12-15 16:14:40 +0100
commit6602d3ac777f0338e1fcfbd9c4a67c1fdf792905 (patch)
tree2951edf03a2b0e8bd11cb3cd8105f4d8f4fca76d /apps
parentd367d1b06a1b9dece52c57d973b4c2ab6aa63772 (diff)
parent1d490b559ce279f5c9f44b727fe9d71d3718a24b (diff)
downloadnextcloud-server-6602d3ac777f0338e1fcfbd9c4a67c1fdf792905.tar.gz
nextcloud-server-6602d3ac777f0338e1fcfbd9c4a67c1fdf792905.zip
Merge pull request #12555 from owncloud/app_specific_search
introduce inApps[] filter for search via ajax query
Diffstat (limited to 'apps')
-rw-r--r--apps/files/appinfo/app.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/appinfo/app.php b/apps/files/appinfo/app.php
index 3567bc26def..62c205add52 100644
--- a/apps/files/appinfo/app.php
+++ b/apps/files/appinfo/app.php
@@ -10,7 +10,7 @@ OCP\App::addNavigationEntry(array("id" => "files_index",
"icon" => OCP\Util::imagePath("core", "places/files.svg"),
"name" => $l->t("Files")));
-\OC::$server->getSearch()->registerProvider('OC\Search\Provider\File');
+\OC::$server->getSearch()->registerProvider('OC\Search\Provider\File', array('apps' => array('files')));
$templateManager = OC_Helper::getFileTemplateManager();
$templateManager->registerTemplate('text/html', 'core/templates/filetemplates/template.html');