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