From 190e290d98b36c613ec44f8ac919e0f075ce6795 Mon Sep 17 00:00:00 2001 From: epriestley Date: Thu, 25 Jun 2015 06:54:46 -0700 Subject: [PATCH] Fix Drydock lease list view in redesign branch Summary: Fixes T8655. This isn't actually a table -- just use `setContent()`. Test Plan: Loaded leases in redesign-2015. Reviewers: btrahan, chad Reviewed By: chad Subscribers: epriestley Maniphest Tasks: T8655 Differential Revision: https://secure.phabricator.com/D13431 --- src/applications/drydock/query/DrydockLeaseSearchEngine.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/applications/drydock/query/DrydockLeaseSearchEngine.php b/src/applications/drydock/query/DrydockLeaseSearchEngine.php index 14d39cffe8..66f783875e 100644 --- a/src/applications/drydock/query/DrydockLeaseSearchEngine.php +++ b/src/applications/drydock/query/DrydockLeaseSearchEngine.php @@ -93,10 +93,8 @@ final class DrydockLeaseSearchEngine ->setUser($this->requireViewer()) ->setLeases($leases); - $result = new PhabricatorApplicationSearchResultView(); - $result->setTable($list); - - return $result; + return id(new PhabricatorApplicationSearchResultView()) + ->setContent($list); } }