mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-20 05:42:40 +01:00
[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
This commit is contained in:
parent
5538427d8a
commit
dbdeca58fc
2 changed files with 5 additions and 1 deletions
|
@ -187,7 +187,8 @@ final class PhabricatorPeopleLogSearchEngine
|
|||
}
|
||||
|
||||
$result = new PhabricatorApplicationSearchResultView();
|
||||
$result->setTable($table);
|
||||
$result->setContent($table);
|
||||
$result->setCollapsed(true);
|
||||
|
||||
return $result;
|
||||
}
|
||||
|
|
|
@ -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())
|
||||
|
|
Loading…
Reference in a new issue