Differential D12526 Diff 30086 src/applications/maniphest/conduit/ManiphestQueryConduitAPIMethod.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/maniphest/conduit/ManiphestQueryConduitAPIMethod.php
Show First 20 Lines • Show All 73 Lines • ▼ Show 20 Lines | protected function execute(ConduitAPIRequest $request) { | ||||
$authors = $request->getValue('authorPHIDs'); | $authors = $request->getValue('authorPHIDs'); | ||||
if ($authors) { | if ($authors) { | ||||
$query->withAuthors($authors); | $query->withAuthors($authors); | ||||
} | } | ||||
$projects = $request->getValue('projectPHIDs'); | $projects = $request->getValue('projectPHIDs'); | ||||
if ($projects) { | if ($projects) { | ||||
$query->withAllProjects($projects); | $query->withEdgeLogicPHIDs( | ||||
PhabricatorProjectObjectHasProjectEdgeType::EDGECONST, | |||||
PhabricatorQueryConstraint::OPERATOR_AND, | |||||
$projects); | |||||
} | } | ||||
$ccs = $request->getValue('ccPHIDs'); | $ccs = $request->getValue('ccPHIDs'); | ||||
if ($ccs) { | if ($ccs) { | ||||
$query->withSubscribers($ccs); | $query->withSubscribers($ccs); | ||||
} | } | ||||
$full_text = $request->getValue('fullText'); | $full_text = $request->getValue('fullText'); | ||||
Show All 29 Lines |