Fix quicksand interaction with HTTP GET prefilling in ApplicationSearch
Summary: Fixes T10196. This is a weird interaction and this might not be the best long-term fix, but just get it working OK for now. General problem is that Quicksand doesn't currently use GET for requests. This is a very unusual case where the method is relevant. In the future, I might change Quicksand to use GET. Test Plan: Clicked "Open Tasks" with Quicksand active, got a results list. Reviewers: chad Reviewed By: chad Maniphest Tasks: T10196 Differential Revision: https://secure.phabricator.com/D15082
This commit is contained in:
@@ -100,7 +100,7 @@ final class PhabricatorApplicationSearchController
|
|||||||
} else if (!strlen($this->queryKey)) {
|
} else if (!strlen($this->queryKey)) {
|
||||||
$found_query_data = false;
|
$found_query_data = false;
|
||||||
|
|
||||||
if ($request->isHTTPGet()) {
|
if ($request->isHTTPGet() || $request->isQuicksand()) {
|
||||||
// If this is a GET request and it has some query data, don't
|
// If this is a GET request and it has some query data, don't
|
||||||
// do anything unless it's only before= or after=. We'll build and
|
// do anything unless it's only before= or after=. We'll build and
|
||||||
// execute a query from it below. This allows external tools to build
|
// execute a query from it below. This allows external tools to build
|
||||||
|
|||||||
Reference in New Issue
Block a user