1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-29 17:00:59 +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);
}
return $list;
return id(new PhabricatorApplicationSearchResultView())
->setContent($list);
}
}

View file

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

View file

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