Changeset View
Changeset View
Standalone View
Standalone View
src/applications/feed/query/PhabricatorFeedQuery.php
Show All 31 Lines | protected function loadPage() { | ||||
return $data; | return $data; | ||||
} | } | ||||
protected function willFilterPage(array $data) { | protected function willFilterPage(array $data) { | ||||
return PhabricatorFeedStory::loadAllFromRows($data, $this->getViewer()); | return PhabricatorFeedStory::loadAllFromRows($data, $this->getViewer()); | ||||
} | } | ||||
private function buildJoinClause(AphrontDatabaseConnection $conn_r) { | protected function buildJoinClause(AphrontDatabaseConnection $conn_r) { | ||||
// NOTE: We perform this join unconditionally (even if we have no filter | // NOTE: We perform this join unconditionally (even if we have no filter | ||||
// PHIDs) to omit rows which have no story references. These story data | // PHIDs) to omit rows which have no story references. These story data | ||||
// rows are notifications or realtime alerts. | // rows are notifications or realtime alerts. | ||||
$ref_table = new PhabricatorFeedStoryReference(); | $ref_table = new PhabricatorFeedStoryReference(); | ||||
return qsprintf( | return qsprintf( | ||||
$conn_r, | $conn_r, | ||||
'JOIN %T ref ON ref.chronologicalKey = story.chronologicalKey', | 'JOIN %T ref ON ref.chronologicalKey = story.chronologicalKey', | ||||
▲ Show 20 Lines • Show All 78 Lines • Show Last 20 Lines |