getURIData('queryKey'); $request = $this->getRequest(); $controller = id(new PhabricatorApplicationSearchController()) ->setQueryKey($querykey) ->setSearchEngine(new DrydockBlueprintSearchEngine()) ->setNavigation($this->buildSideNavView()); return $this->delegateToController($controller); } protected function buildApplicationCrumbs() { $can_create = $this->hasApplicationCapability( DrydockCreateBlueprintsCapability::CAPABILITY); $crumbs = parent::buildApplicationCrumbs(); $crumbs->addAction( id(new PHUIListItemView()) ->setName(pht('New Blueprint')) ->setHref($this->getApplicationURI('/blueprint/create/')) ->setDisabled(!$can_create) ->setWorkflow(!$can_create) ->setIcon('fa-plus-square')); return $crumbs; } }