Differential D17672 Diff 42503 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 972 Lines • ▼ Show 20 Lines | public function executeQuery( | ||||
| $query->setViewer($this->requireViewer()); | $query->setViewer($this->requireViewer()); | ||||
| if ($this->shouldUseOffsetPaging()) { | if ($this->shouldUseOffsetPaging()) { | ||||
| $objects = $query->executeWithOffsetPager($pager); | $objects = $query->executeWithOffsetPager($pager); | ||||
| } else { | } else { | ||||
| $objects = $query->executeWithCursorPager($pager); | $objects = $query->executeWithCursorPager($pager); | ||||
| } | } | ||||
| $this->didExecuteQuery($query); | |||||
| return $objects; | return $objects; | ||||
| } | } | ||||
| protected function didExecuteQuery(PhabricatorPolicyAwareQuery $query) { | |||||
| return; | |||||
| } | |||||
| /* -( Rendering )---------------------------------------------------------- */ | /* -( Rendering )---------------------------------------------------------- */ | ||||
| public function setRequest(AphrontRequest $request) { | public function setRequest(AphrontRequest $request) { | ||||
| $this->request = $request; | $this->request = $request; | ||||
| return $this; | return $this; | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 412 Lines • Show Last 20 Lines | |||||