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

Clicking the search icon in empty search field should link to advanced search

Summary: Fixes T6664, clicking search icon in empty search field should link to advanced search

Test Plan: navigate to home page, click search icon or click into search box and hit enter. Advanced search page should open.

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: Korvin, epriestley

Maniphest Tasks: T6664

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

authored by

lkassianik and committed by
epriestley
45060183 139c63bd

+5
+5
src/applications/search/controller/PhabricatorSearchController.php
··· 39 39 // with only this piece of somewhat-sketchy code. See discussion in T4365. 40 40 41 41 if ($request->getBool('search:primary')) { 42 + if (!strlen($request->getStr('query'))) { 43 + $advanced_uri = '/search/query/advanced/'; 44 + return id(new AphrontRedirectResponse())->setURI($advanced_uri); 45 + } 46 + 42 47 $named_queries = $engine->loadEnabledNamedQueries(); 43 48 if ($named_queries) { 44 49 $named = head($named_queries);