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())