Reduce application search engine results list for Dashboards

Summary: Ref T10390. Simplifies dropdown by rolling out canUseInPanel in useless panels

Test Plan: Add a query panel, see less options.

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

Maniphest Tasks: T10390

Differential Revision: https://secure.phabricator.com/D17341
This commit is contained in:
Chad Little
2017-02-22 09:25:36 -08:00
parent 254ee82a0c
commit bf44210dc8
30 changed files with 108 additions and 8 deletions

View File

@@ -11,6 +11,10 @@ final class PhabricatorFileSearchEngine
return 'PhabricatorFilesApplication';
}
public function canUseInPanelContext() {
return false;
}
public function newQuery() {
return new PhabricatorFileQuery();
}