Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13990977
D7777.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D7777.id.diff
View Options
Index: src/applications/search/controller/PhabricatorApplicationSearchController.php
===================================================================
--- src/applications/search/controller/PhabricatorApplicationSearchController.php
+++ src/applications/search/controller/PhabricatorApplicationSearchController.php
@@ -147,6 +147,10 @@
$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(
Index: src/applications/search/engine/PhabricatorApplicationSearchEngine.php
===================================================================
--- src/applications/search/engine/PhabricatorApplicationSearchEngine.php
+++ src/applications/search/engine/PhabricatorApplicationSearchEngine.php
@@ -274,7 +274,6 @@
$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])) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Oct 23, 7:50 AM (4 w, 34 m ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6736293
Default Alt Text
D7777.id.diff (1 KB)
Attached To
Mode
D7777: Save ApplicationSearch queries generated from GET parameters in the request
Attached
Detach File
Event Timeline
Log In to Comment