Implement ApplicationSearch in Files

Summary: Ref T2625. Ref T1163. A couple of small generalization nudges, but this is almost entirely straightforward.

Test Plan: Executed various File queries.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T1163, T2625

Differential Revision: https://secure.phabricator.com/D6091
This commit is contained in:
epriestley
2013-05-31 10:51:05 -07:00
parent a92fc74ef1
commit 3aae972406
12 changed files with 185 additions and 79 deletions

View File

@@ -14,7 +14,7 @@ abstract class PhabricatorPasteController extends PhabricatorController {
id(new PhabricatorPasteSearchEngine())
->setViewer($user)
->addNavigationItems($nav);
->addNavigationItems($nav->getMenu());
$nav->selectFilter(null);