@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
1<?php
2
3final class PhabricatorMacroListController extends PhabricatorMacroController {
4
5 public function shouldAllowPublic() {
6 return true;
7 }
8
9 public function handleRequest(AphrontRequest $request) {
10 $key = $request->getURIData('key');
11
12 $controller = id(new PhabricatorApplicationSearchController())
13 ->setQueryKey($key)
14 ->setSearchEngine(new PhabricatorMacroSearchEngine())
15 ->setNavigation($this->buildSideNavView());
16
17 return $this->delegateToController($controller);
18 }
19
20}