Differential D12509 Diff 30031 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 49 Lines • ▼ Show 20 Lines | $query = id(new PhabricatorSearchDocumentQuery()) | ||||
->withSavedQuery($saved); | ->withSavedQuery($saved); | ||||
return $query; | return $query; | ||||
} | } | ||||
public function buildSearchForm( | public function buildSearchForm( | ||||
AphrontFormView $form, | AphrontFormView $form, | ||||
PhabricatorSavedQuery $saved) { | PhabricatorSavedQuery $saved) { | ||||
if ($saved->getParameter('app.scope.error')) { | |||||
$this->addMessage( | |||||
pht( | |||||
'You ran a "Current Application" search, but the current '. | |||||
'application does not have any searchable document types. '. | |||||
'Showing results for all documents.')); | |||||
} | |||||
$options = array(); | $options = array(); | ||||
$author_value = null; | $author_value = null; | ||||
$owner_value = null; | $owner_value = null; | ||||
$subscribers_value = null; | $subscribers_value = null; | ||||
$project_value = null; | $project_value = null; | ||||
$author_phids = $saved->getParameter('authorPHIDs', array()); | $author_phids = $saved->getParameter('authorPHIDs', array()); | ||||
$owner_phids = $saved->getParameter('ownerPHIDs', array()); | $owner_phids = $saved->getParameter('ownerPHIDs', array()); | ||||
▲ Show 20 Lines • Show All 193 Lines • Show Last 20 Lines |