Differential D15759 Diff 37977 src/applications/repository/query/PhabricatorRepositoryPushLogSearchEngine.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/repository/query/PhabricatorRepositoryPushLogSearchEngine.php
Show First 20 Lines • Show All 89 Lines • ▼ Show 20 Lines | public function buildSavedQueryFromBuiltin($query_key) { | ||||
} | } | ||||
return parent::buildSavedQueryFromBuiltin($query_key); | return parent::buildSavedQueryFromBuiltin($query_key); | ||||
} | } | ||||
protected function getRequiredHandlePHIDsForResultList( | protected function getRequiredHandlePHIDsForResultList( | ||||
array $logs, | array $logs, | ||||
PhabricatorSavedQuery $query) { | PhabricatorSavedQuery $query) { | ||||
return mpull($logs, 'getPusherPHID'); | $phids = array(); | ||||
$phids[] = mpull($logs, 'getPusherPHID'); | |||||
$phids[] = mpull($logs, 'getDevicePHID'); | |||||
$phids = array_mergev($phids); | |||||
$phids = array_filter($phids); | |||||
return $phids; | |||||
} | } | ||||
protected function renderResultList( | protected function renderResultList( | ||||
array $logs, | array $logs, | ||||
PhabricatorSavedQuery $query, | PhabricatorSavedQuery $query, | ||||
array $handles) { | array $handles) { | ||||
$table = id(new DiffusionPushLogListView()) | $table = id(new DiffusionPushLogListView()) | ||||
Show All 9 Lines |