Differential D17192 Diff 41342 src/applications/search/engine/PhabricatorApplicationSearchEngine.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/search/engine/PhabricatorApplicationSearchEngine.php
Show First 20 Lines • Show All 902 Lines • ▼ Show 20 Lines | |||||
/* -( Paging and Executing Queries )--------------------------------------- */ | /* -( Paging and Executing Queries )--------------------------------------- */ | ||||
protected function newResultBuckets() { | protected function newResultBuckets() { | ||||
return array(); | return array(); | ||||
} | } | ||||
protected function getResultBucket(PhabricatorSavedQuery $saved) { | public function getResultBucket(PhabricatorSavedQuery $saved) { | ||||
$key = $saved->getParameter('bucket'); | $key = $saved->getParameter('bucket'); | ||||
if ($key == self::BUCKET_NONE) { | if ($key == self::BUCKET_NONE) { | ||||
return null; | return null; | ||||
} | } | ||||
$buckets = $this->newResultBuckets(); | $buckets = $this->newResultBuckets(); | ||||
return idx($buckets, $key); | return idx($buckets, $key); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 484 Lines • Show Last 20 Lines |