From e576ef4bfe2db6ba03920e1050fb687367f409a5 Mon Sep 17 00:00:00 2001 From: epriestley Date: Mon, 29 Jun 2015 06:50:35 -0700 Subject: [PATCH] Fix Push Log rendering of query results in redesign Summary: Fixes T8698. This isn't actually a table. Test Plan: Viewed push log, no more fatal. Reviewers: chad Reviewed By: chad Subscribers: epriestley Maniphest Tasks: T8698 Differential Revision: https://secure.phabricator.com/D13468 --- .../query/PhabricatorRepositoryPushLogSearchEngine.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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); } }