Remove unused apps from the DocumentType typeahead
Summary: Ref T10951. This diff removes uninstalled applications from the result set for DocumentType restults Test Plan: Uninstall an application (diviner for example), then go to the document type search menu and ensure that the uninstalled application doesn't show up. Reviewers: #blessed_reviewers, epriestley Reviewed By: #blessed_reviewers, epriestley Subscribers: epriestley Maniphest Tasks: T10951 Differential Revision: https://secure.phabricator.com/D16445
This commit is contained in:
@@ -25,8 +25,10 @@ final class PhabricatorSearchDocumentTypeDatasource
|
||||
}
|
||||
|
||||
private function buildResults() {
|
||||
$viewer = $this->getViewer();
|
||||
$types =
|
||||
PhabricatorSearchApplicationSearchEngine::getIndexableDocumentTypes();
|
||||
PhabricatorSearchApplicationSearchEngine::getIndexableDocumentTypes(
|
||||
$viewer);
|
||||
|
||||
$icons = mpull(
|
||||
PhabricatorPHIDType::getAllTypes(),
|
||||
|
||||
Reference in New Issue
Block a user