Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13980598
D7777.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.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
Oct 20 2024, 11:38 AM (4 w, 2 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6736293
Default Alt Text
D7777.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