1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-19 12:00:55 +01:00

Make "Current Application" imply "Open documents in..."

Summary: This is probably consistent with user intent like 95% of the time, let's try making it default and documenting it.

Test Plan: Searched in "Current Application" in Maniphest.

Reviewers: chad

Reviewed By: chad

Subscribers: epriestley

Differential Revision: https://secure.phabricator.com/D12512
This commit is contained in:
epriestley 2015-04-22 16:34:43 -07:00
parent b49645d25b
commit b5b8d0982c
2 changed files with 3 additions and 2 deletions

View file

@ -59,7 +59,8 @@ final class PhabricatorSearchController
if ($types) {
$saved = id(new PhabricatorSavedQuery())
->setEngineClassName(get_class($engine))
->setParameter('types', $types);
->setParameter('types', $types)
->setParameter('statuses', array('open'));
}
}
}

View file

@ -147,7 +147,7 @@ final class PhabricatorMainMenuSearchView extends AphrontView {
}
$items[] = array(
'icon' => 'fa-search',
'icon' => 'fa-certificate',
'name' => $query_name,
'value' => $query_key,
);