@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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

Josh Cox 7f7c3acf a1f25fdb

+3 -1
+3 -1
src/applications/search/typeahead/PhabricatorSearchDocumentTypeDatasource.php
··· 25 25 } 26 26 27 27 private function buildResults() { 28 + $viewer = $this->getViewer(); 28 29 $types = 29 - PhabricatorSearchApplicationSearchEngine::getIndexableDocumentTypes(); 30 + PhabricatorSearchApplicationSearchEngine::getIndexableDocumentTypes( 31 + $viewer); 30 32 31 33 $icons = mpull( 32 34 PhabricatorPHIDType::getAllTypes(),