Differential D9884 Diff 23734 src/applications/search/query/PhabricatorSearchApplicationSearchEngine.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/search/query/PhabricatorSearchApplicationSearchEngine.php
Show First 20 Lines • Show All 155 Lines • ▼ Show 20 Lines | $form | ||||
->setName('subscriberPHIDs') | ->setName('subscriberPHIDs') | ||||
->setLabel('Subscribers') | ->setLabel('Subscribers') | ||||
->setDatasource('/typeahead/common/users/') | ->setDatasource('/typeahead/common/users/') | ||||
->setValue($subscriber_handles)) | ->setValue($subscriber_handles)) | ||||
->appendChild( | ->appendChild( | ||||
id(new AphrontFormTokenizerControl()) | id(new AphrontFormTokenizerControl()) | ||||
->setName('projectPHIDs') | ->setName('projectPHIDs') | ||||
->setLabel('In Any Project') | ->setLabel('In Any Project') | ||||
->setDatasource('/typeahead/common/projects/') | ->setDatasource(new PhabricatorProjectDatasource()) | ||||
->setValue($project_handles)); | ->setValue($project_handles)); | ||||
} | } | ||||
protected function getURI($path) { | protected function getURI($path) { | ||||
return '/search/'.$path; | return '/search/'.$path; | ||||
} | } | ||||
public function getBuiltinQueryNames() { | public function getBuiltinQueryNames() { | ||||
▲ Show 20 Lines • Show All 114 Lines • Show Last 20 Lines |