@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
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix jump nav for new search stuff

Summary: Ref T4365. Aligns jump nav with the normal search behavior.

Test Plan: Typed some junk into the jump nav, mashed return.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T4365

Differential Revision: https://secure.phabricator.com/D8136

+4 -7
+4 -7
src/applications/home/controller/PhabricatorHomeMainController.php
··· 95 95 $jump); 96 96 97 97 if ($response) { 98 - 99 98 return $response; 100 99 } else if ($request->isFormPost()) { 101 - $query = id(new PhabricatorSavedQuery()) 102 - ->setEngineClassName('PhabricatorSearchApplicationSearchEngine') 103 - ->setParameter('query', $jump) 104 - ->save(); 100 + $uri = new PhutilURI('/search/'); 101 + $uri->setQueryParam('query', $jump); 102 + $uri->setQueryParam('search:primary', 'true'); 105 103 106 - return id(new AphrontRedirectResponse()) 107 - ->setURI('/search/'.$query->getQueryKey().'/'); 104 + return id(new AphrontRedirectResponse())->setURI((string)$uri); 108 105 } else { 109 106 return id(new AphrontRedirectResponse())->setURI('/'); 110 107 }