diff --git a/src/applications/metamta/typeahead/PhabricatorMetaMTAMailableFunctionDatasource.php b/src/applications/metamta/typeahead/PhabricatorMetaMTAMailableFunctionDatasource.php index 68cb0e79b2..4b231b959e 100644 --- a/src/applications/metamta/typeahead/PhabricatorMetaMTAMailableFunctionDatasource.php +++ b/src/applications/metamta/typeahead/PhabricatorMetaMTAMailableFunctionDatasource.php @@ -8,7 +8,8 @@ final class PhabricatorMetaMTAMailableFunctionDatasource } public function getPlaceholderText() { - return pht('Type a username, project, mailing list, or function...'); + return pht( + 'Type a username, project, mailing list, package, or function...'); } public function getDatasourceApplicationClass() { @@ -21,6 +22,7 @@ final class PhabricatorMetaMTAMailableFunctionDatasource new PhabricatorPeopleDatasource(), new PhabricatorProjectMembersDatasource(), new PhabricatorProjectDatasource(), + new PhabricatorOwnersPackageDatasource(), ); } diff --git a/src/applications/search/field/PhabricatorSearchSubscribersField.php b/src/applications/search/field/PhabricatorSearchSubscribersField.php index 7102f33910..f3cf2094e9 100644 --- a/src/applications/search/field/PhabricatorSearchSubscribersField.php +++ b/src/applications/search/field/PhabricatorSearchSubscribersField.php @@ -10,6 +10,7 @@ final class PhabricatorSearchSubscribersField protected function getValueFromRequest(AphrontRequest $request, $key) { $allow_types = array( PhabricatorProjectProjectPHIDType::TYPECONST, + PhabricatorOwnersPackagePHIDType::TYPECONST, ); return $this->getUsersFromRequest($request, $key, $allow_types); }