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:
parent
075f041bec
commit
729606ba93
3 changed files with 5 additions and 4 deletions
|
@ -118,6 +118,7 @@ final class PhabricatorMetaMTAMailSearchEngine
|
|||
$list->addItem($item);
|
||||
}
|
||||
|
||||
return $list;
|
||||
return id(new PhabricatorApplicationSearchResultView())
|
||||
->setContent($list);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -54,6 +54,7 @@ final class PhabricatorApplicationSearchResultView extends Phobject {
|
|||
|
||||
public function setContent($content) {
|
||||
$this->content = $content;
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getContent() {
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue