Changeset View
Changeset View
Standalone View
Standalone View
src/applications/feed/query/PhabricatorFeedSearchEngine.php
| Show First 20 Lines • Show All 50 Lines • ▼ Show 20 Lines | if ($viewer_projects) { | ||||
| ->setViewer($viewer) | ->setViewer($viewer) | ||||
| ->withMemberPHIDs(array($viewer->getPHID())) | ->withMemberPHIDs(array($viewer->getPHID())) | ||||
| ->execute(); | ->execute(); | ||||
| $phids[] = mpull($projects, 'getPHID'); | $phids[] = mpull($projects, 'getPHID'); | ||||
| } | } | ||||
| $phids = array_mergev($phids); | $phids = array_mergev($phids); | ||||
| if ($phids) { | if ($phids) { | ||||
| $query->setFilterPHIDs($phids); | $query->withFilterPHIDs($phids); | ||||
| } | } | ||||
| return $query; | return $query; | ||||
| } | } | ||||
| public function buildSearchForm( | public function buildSearchForm( | ||||
| AphrontFormView $form, | AphrontFormView $form, | ||||
| PhabricatorSavedQuery $saved_query) { | PhabricatorSavedQuery $saved_query) { | ||||
| ▲ Show 20 Lines • Show All 83 Lines • Show Last 20 Lines | |||||