1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-20 13:52:40 +01:00

Update BulkJob and MetaMTA search engines for redesign-2015

This commit is contained in:
epriestley 2015-06-23 13:39:27 -07:00
parent 075f041bec
commit 729606ba93
3 changed files with 5 additions and 4 deletions

View file

@ -118,6 +118,7 @@ final class PhabricatorMetaMTAMailSearchEngine
$list->addItem($item); $list->addItem($item);
} }
return $list; return id(new PhabricatorApplicationSearchResultView())
->setContent($list);
} }
} }

View file

@ -54,6 +54,7 @@ final class PhabricatorApplicationSearchResultView extends Phobject {
public function setContent($content) { public function setContent($content) {
$this->content = $content; $this->content = $content;
return $this;
} }
public function getContent() { public function getContent() {

View file

@ -91,8 +91,7 @@ final class PhabricatorWorkerBulkJobSearchEngine
$list->addItem($item); $list->addItem($item);
} }
// TODO: Needs new wrapper when merging to redesign. return id(new PhabricatorApplicationSearchResultView())
->setContent($list);
return $list;
} }
} }