mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-24 06:20:56 +01:00
Application Search - fix error updating searches from human-readable links
Summary: Fixes T5666. When we have a pretty link right now it can conflict with form data; e.g. if you have 'statuses=open' in the URI and then uncheck status = open in the UI, you will still get the open status in the next search. To fix this, set the form action explicitly to lose all the get parameter junk. Test Plan: tried the test case in T5666 / this description and it no longer failed...! Reviewers: epriestley Reviewed By: epriestley Subscribers: epriestley, Korvin Maniphest Tasks: T5666 Differential Revision: https://secure.phabricator.com/D10115
This commit is contained in:
parent
e50b269416
commit
dd918b0d14
1 changed files with 2 additions and 1 deletions
|
@ -153,7 +153,8 @@ final class PhabricatorApplicationSearchController
|
|||
'query/advanced');
|
||||
|
||||
$form = id(new AphrontFormView())
|
||||
->setUser($user);
|
||||
->setUser($user)
|
||||
->setAction($request->getPath());
|
||||
|
||||
$engine->buildSearchForm($form, $saved_query);
|
||||
|
||||
|
|
Loading…
Reference in a new issue