Page MenuHomePhabricator

D16445.diff
No OneTemporary

D16445.diff

diff --git a/src/applications/search/typeahead/PhabricatorSearchDocumentTypeDatasource.php b/src/applications/search/typeahead/PhabricatorSearchDocumentTypeDatasource.php
--- a/src/applications/search/typeahead/PhabricatorSearchDocumentTypeDatasource.php
+++ b/src/applications/search/typeahead/PhabricatorSearchDocumentTypeDatasource.php
@@ -25,8 +25,10 @@
}
private function buildResults() {
+ $viewer = $this->getViewer();
$types =
- PhabricatorSearchApplicationSearchEngine::getIndexableDocumentTypes();
+ PhabricatorSearchApplicationSearchEngine::getIndexableDocumentTypes(
+ $viewer);
$icons = mpull(
PhabricatorPHIDType::getAllTypes(),

File Metadata

Mime Type
text/plain
Expires
Sun, May 12, 2:33 AM (3 w, 1 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6287204
Default Alt Text
D16445.diff (691 B)

Event Timeline