From dbdeca58fc6e178240df068d71290d9a668ab408 Mon Sep 17 00:00:00 2001 From: Chad Little Date: Mon, 22 Jun 2015 22:10:07 +0100 Subject: [PATCH] [Redesign] Fix People Log Query Summary: Fixes T8642, This is a table, but not returned as one. Set it to Content for now with a Collapsed layout. Test Plan: Test /people/logs/ Reviewers: btrahan, epriestley Reviewed By: epriestley Subscribers: epriestley, Korvin Maniphest Tasks: T8642 Differential Revision: https://secure.phabricator.com/D13395 --- .../people/query/PhabricatorPeopleLogSearchEngine.php | 3 ++- .../controller/PhabricatorApplicationSearchController.php | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/applications/people/query/PhabricatorPeopleLogSearchEngine.php b/src/applications/people/query/PhabricatorPeopleLogSearchEngine.php index 851ef113d0..fd64142c1e 100644 --- a/src/applications/people/query/PhabricatorPeopleLogSearchEngine.php +++ b/src/applications/people/query/PhabricatorPeopleLogSearchEngine.php @@ -187,7 +187,8 @@ final class PhabricatorPeopleLogSearchEngine } $result = new PhabricatorApplicationSearchResultView(); - $result->setTable($table); + $result->setContent($table); + $result->setCollapsed(true); return $result; } diff --git a/src/applications/search/controller/PhabricatorApplicationSearchController.php b/src/applications/search/controller/PhabricatorApplicationSearchController.php index 6e16081965..a2b2b9e034 100644 --- a/src/applications/search/controller/PhabricatorApplicationSearchController.php +++ b/src/applications/search/controller/PhabricatorApplicationSearchController.php @@ -249,6 +249,9 @@ final class PhabricatorApplicationSearchController if ($list->getContent()) { $box->appendChild($list->getContent()); } + if ($list->getCollapsed()) { + $box->setCollapsed(true); + } if ($pager->willShowPagingControls()) { $pager_box = id(new PHUIBoxView())