diff --git a/src/applications/search/controller/PhabricatorApplicationSearchController.php b/src/applications/search/controller/PhabricatorApplicationSearchController.php index c6c0f2acc0..c96c8c9401 100644 --- a/src/applications/search/controller/PhabricatorApplicationSearchController.php +++ b/src/applications/search/controller/PhabricatorApplicationSearchController.php @@ -147,6 +147,10 @@ final class PhabricatorApplicationSearchController $named_query = idx($engine->loadEnabledNamedQueries(), $query_key); } else { $saved_query = $engine->buildSavedQueryFromRequest($request); + + // Save the query to generate a query key, so "Save Custom Query..." and + // other features like Maniphest's "Export..." work correctly. + $this->saveQuery($saved_query); } $nav->selectFilter( diff --git a/src/applications/search/engine/PhabricatorApplicationSearchEngine.php b/src/applications/search/engine/PhabricatorApplicationSearchEngine.php index d01e526e95..a36f19cf6c 100644 --- a/src/applications/search/engine/PhabricatorApplicationSearchEngine.php +++ b/src/applications/search/engine/PhabricatorApplicationSearchEngine.php @@ -274,7 +274,6 @@ abstract class PhabricatorApplicationSearchEngine { $user_type = PhabricatorPHIDConstants::PHID_TYPE_USER; foreach ($list as $item) { $type = phid_get_type($item); - phlog($type); if ($type == $user_type) { $phids[] = $item; } else if (isset($allow_types[$type])) {