diff --git a/src/applications/repository/query/PhabricatorRepositoryPushLogSearchEngine.php b/src/applications/repository/query/PhabricatorRepositoryPushLogSearchEngine.php index 07ce0dcf05..ac798975ac 100644 --- a/src/applications/repository/query/PhabricatorRepositoryPushLogSearchEngine.php +++ b/src/applications/repository/query/PhabricatorRepositoryPushLogSearchEngine.php @@ -103,15 +103,13 @@ final class PhabricatorRepositoryPushLogSearchEngine PhabricatorSavedQuery $query, array $handles) { - $table = id(new DiffusionPushLogListView()) + $content = id(new DiffusionPushLogListView()) ->setUser($this->requireViewer()) ->setHandles($handles) ->setLogs($logs); - $result = new PhabricatorApplicationSearchResultView(); - $result->setTable($table); - - return $result; + return id(new PhabricatorApplicationSearchResultView()) + ->setContent($content); } }