Changeset View
Changeset View
Standalone View
Standalone View
src/applications/paste/query/PhabricatorPasteSearchEngine.php
Show First 20 Lines • Show All 41 Lines • ▼ Show 20 Lines | protected function buildQueryFromParameters(array $map) { | ||||
return $query; | return $query; | ||||
} | } | ||||
protected function buildCustomSearchFields() { | protected function buildCustomSearchFields() { | ||||
return array( | return array( | ||||
id(new PhabricatorUsersSearchField()) | id(new PhabricatorUsersSearchField()) | ||||
->setAliases(array('authors')) | ->setAliases(array('authors')) | ||||
->setKey('authorPHIDs') | ->setKey('authorPHIDs') | ||||
->setConduitKey('authors') | |||||
->setLabel(pht('Authors')), | ->setLabel(pht('Authors')), | ||||
id(new PhabricatorSearchStringListField()) | id(new PhabricatorSearchStringListField()) | ||||
->setKey('languages') | ->setKey('languages') | ||||
->setLabel(pht('Languages')), | ->setLabel(pht('Languages')), | ||||
id(new PhabricatorSearchDateField()) | id(new PhabricatorSearchDateField()) | ||||
->setKey('createdStart') | ->setKey('createdStart') | ||||
->setLabel(pht('Created After')), | ->setLabel(pht('Created After')), | ||||
id(new PhabricatorSearchDateField()) | id(new PhabricatorSearchDateField()) | ||||
▲ Show 20 Lines • Show All 137 Lines • Show Last 20 Lines |