Something went wrong. Try again.
@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
Something went wrong. Try again.
954 B · 34 lines
PHP
at commit e0faa667
1234567891011121314151617181920212223242526272829303132333435<?php
final class DiffusionPushLogListController extends DiffusionPushLogController {
public function shouldAllowPublic() { return true; }
protected function processDiffusionRequest(AphrontRequest $request) { $request = $this->getRequest(); $controller = id(new PhabricatorApplicationSearchController()) ->setQueryKey($request->getURIData('queryKey')) ->setSearchEngine(new PhabricatorRepositoryPushLogSearchEngine()) ->setNavigation($this->buildSideNavView());
return $this->delegateToController($controller); }
public function buildSideNavView($for_app = false) { $viewer = $this->getRequest()->getUser();
$nav = new AphrontSideNavFilterView(); $nav->setBaseURI(new PhutilURI($this->getApplicationURI()));
id(new PhabricatorRepositoryPushLogSearchEngine()) ->setViewer($viewer) ->addNavigationItems($nav->getMenu());
$nav->selectFilter(null);
return $nav; }
}